Skip to content

Commit

Permalink
build: enable provenance (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Feb 12, 2024
1 parent fd5bae7 commit 8ab5ada
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -23,6 +23,9 @@ env:
NODE_VERSION: 20 # needs to be in sync with other versions below
DRY_RUN: true

permissions:
contents: read

jobs:
test:
name: ${{ matrix.node-version == 20 && format('test ({0})', matrix.os) || format('test ({0}, node-{1})', matrix.os, matrix.node-version) }}
Expand Down Expand Up @@ -134,6 +137,10 @@ jobs:
# tests shouldn't need more time
timeout-minutes: 15

permissions:
contents: write
id-token: write

steps:
# full checkout for semantic-release
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
@@ -1,6 +1,8 @@
save-exact = true
save-prefix =

provenance = true

# pnpm run settings
# https://pnpm.io/cli/run
shell-emulator = true

0 comments on commit 8ab5ada

Please sign in to comment.