Skip to content

Commit e1df71c

Browse files
authored
ci: Set up trusted publishing (#173)
1 parent 95d2850 commit e1df71c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ on:
66
tags:
77
- "v*"
88

9+
permissions:
10+
id-token: write # Required for OIDC
11+
contents: read
12+
913
jobs:
10-
build:
14+
build-publish:
15+
environment: npm-release
1116
runs-on: ubuntu-latest
1217
steps:
1318
- uses: actions/checkout@v4
@@ -28,5 +33,3 @@ jobs:
2833
npm publish
2934
fi
3035
working-directory: packages/deck.gl-layers
31-
env:
32-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)