Skip to content

Commit

Permalink
ci(signatures): audited provenance and signatures of installed packages
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Apr 28, 2023
1 parent 2e3d691 commit eab0512
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
with:
cache: npm
node-version: lts/*
- run: npm ci
- run: npm clean-install
- run: npm audit signatures
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm clean-install
- run: npm run test:ci

# separate job to set as required in branch protection,
Expand All @@ -45,6 +45,7 @@ jobs:
node-version: "lts/*"
cache: npm
- run: npm clean-install
- run: npm audit signatures
- name: Ensure dependencies are compatible with the version of node
run: npx ls-engines
- run: npm run lint

0 comments on commit eab0512

Please sign in to comment.