Skip to content

Commit

Permalink
chore: updates ci
Browse files Browse the repository at this point in the history
Signed-off-by: Case Wylie <[email protected]>
  • Loading branch information
cmwylie19 committed Mar 20, 2024
1 parent fa77ead commit e5c1fff
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 9 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/attestation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: npm attestation CI

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read

jobs:
attestations:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: "lts/*"

- name: Install dependencies
run: npm ci

- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
3 changes: 1 addition & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
cache: npm
- run: npm ci
- run: npm run format:check
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures

test:
runs-on: ubuntu-latest
strategy:
Expand Down
26 changes: 20 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"jest": "29.7.0",
"nock": "13.5.4",
"prettier": "3.2.5",
"semantic-release": "23.0.2",
"semantic-release": "23.0.1",
"ts-jest": "29.1.2",
"typescript": "5.4.2"
},
Expand Down

0 comments on commit e5c1fff

Please sign in to comment.