Skip to content

Commit d2f1379

Browse files
chore: use trusted publisher (#970)
1 parent 74c2cfd commit d2f1379

File tree

4 files changed

+891
-844
lines changed

4 files changed

+891
-844
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: CD
22
on:
33
push:
44
branches: [master]
5+
6+
permissions:
7+
contents: write # Required to push to the repository
8+
id-token: write # Required for OIDC
9+
510
jobs:
611
CD:
712
runs-on: ubuntu-latest
@@ -26,6 +31,5 @@ jobs:
2631
- name: Release
2732
run: npm run release
2833
env:
29-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3034
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3135
DEBUG: '*'

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24

0 commit comments

Comments
 (0)