chore: update deps #3257
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: PR on master | |
| on: | |
| pull_request: | |
| branches: [master] | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| - name: Set NX SHAs | |
| uses: nrwl/nx-set-shas@v4 | |
| with: | |
| main-branch-name: 'master' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint affected projects | |
| run: npx nx affected --target=lint --parallel=3 | |
| - name: Check formatting | |
| run: npx nx format:check --base=origin/master --verbose | |
| - name: Test affected projects | |
| run: npx nx affected --target=test --parallel=3 --ci --code-coverage --verbose | |
| - name: Build affected projects | |
| run: npx nx affected --target=build --parallel=3 |