chore: update npm dependencies #477
Workflow file for this run
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: "CI" | |
| on: | |
| pull_request: | |
| branches: | |
| - "main" | |
| jobs: | |
| skip-check: | |
| if: ${{ !contains(github.event.pull_request.title, 'chore(release):') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo "run only on non-release commits" | |
| validate: | |
| needs: [skip-check] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 ## Needed for Changesets to find `main` branch | |
| ## https://github.com/changesets/changesets/issues/517 | |
| - name: Create git reference to main branch (for Changesets) | |
| if: ${{ github.event.pull_request.title != 'Version Packages' }} | |
| run: git pull --force --no-tags origin main:main | |
| - uses: pnpm/action-setup@v3 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - run: pnpm install | |
| - run: pnpm exec changeset status --since=main | |
| - run: pnpm format:check | |
| - run: pnpm lint | |
| - run: pnpm test |