Skip to content

Commit 8d21774

Browse files
committed
fix: npm provenance (#37)
Enable OIDC for trusted publishing and npm provenance.
1 parent e3b739d commit 8d21774

4 files changed

Lines changed: 5235 additions & 7735 deletions

File tree

.github/workflows/cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
- name: Install dependencies
3434
run: npm ci
3535

36-
- name: Build the project
36+
- name: Build
3737
run: npm run build
3838

3939
- name: Release
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
NPM_CONFIG_PROVENANCE: true
43-
run: npx semantic-release
42+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
43+
run: npx semantic-release

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
with:
2222
node-version: "24"
2323
cache: "npm"
24+
registry-url: https://registry.npmjs.org
2425

2526
- name: Install dependencies
2627
run: npm ci

0 commit comments

Comments
 (0)