Skip to content

chore(deps): update dependency ajv to v8.17.1 #597

chore(deps): update dependency ajv to v8.17.1

chore(deps): update dependency ajv to v8.17.1 #597

Workflow file for this run

on:
pull_request:
types: [opened, synchronize, reopened]
# cancel previous runs on the same PR
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
name: ⛷ PR tests
env:
CI: true
defaults:
run:
shell: bash
jobs:
build-and-test:
name: 🏗 Build Project & 🧪 Run Tests
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
fetch-depth: 0
- uses: nrwl/nx-set-shas@v4
- uses: pnpm/action-setup@v4.0.0
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: 💾 Cache Nx cache
id: package-cache
uses: actions/cache@v4
with:
path: |
nx-cache
# Cache will be updated at every run: https://github.com/actions/cache/blob/main/workarounds.md#update-a-cache
key: ${{ runner.os }}-nx-cache-${{ steps.setup-node.outputs.node-version }}-${{ github.run_id }}
- name: '🏗 Package'
run: pnpm nx affected --targets=package,build --parallel=2
- name: '🧪 Run tests'
run: pnpm nx affected --targets=test-linter,test-type,test-unit,test-circular,test-cdk --parallel=2