Skip to content

Commit

Permalink
ci: add audit step
Browse files Browse the repository at this point in the history
  • Loading branch information
ccharly committed Sep 20, 2024
1 parent 7b7c22b commit 193da73
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,24 @@ jobs:
echo "child-workspace-package-names=$(yarn workspaces list --no-private --json | jq --slurp --raw-output 'map(.name) | @json')" >> "$GITHUB_OUTPUT"
shell: bash

audit:
name: Audit
runs-on: ubuntu-latest
needs:
- prepare
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn install --immutable --immutable-cache
- run: yarn audit

lint:
name: Lint
runs-on: ubuntu-latest
Expand Down

0 comments on commit 193da73

Please sign in to comment.