fix(deps): update dependency date-fns to v4 #278
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and check formatting | |
on: pull_request | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: the-guild-org/shared-config/setup@main | |
name: setup env | |
with: | |
packageManager: pnpm | |
workingDirectory: ./ | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Run ESLint | |
run: pnpm lint --quiet | |
- name: Run Prettier Check | |
run: pnpm format:check | |
- name: Validate code snippets | |
run: pnpm validate:snippets | |
# per the docs: "caching browser binaries is not recommended, | |
# since the amount of time it takes to restore the cache is | |
# comparable to the time it takes to download the binaries" | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run Playwright tests | |
run: npx playwright test | |
- uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |