Skip to content

Commit 855a515

Browse files
authored
Set up trusted publisher in NpmJS for our GH org/repo (#3)
* Set up trusted publisher in NpmJS for our GH org/repo * Step to install latest npm CLI
1 parent e2005fe commit 855a515

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ jobs:
3838
node-version: '22'
3939
registry-url: 'https://registry.npmjs.org'
4040

41+
- name: Install latest npm
42+
run: npm install -g npm@latest
43+
4144
- name: Install dependencies
4245
run: npm ci
4346

4447
- name: Build package
4548
run: npm run build
4649

4750
- name: Publish to npm
48-
run: npm publish --provenance --access public
49-
env:
50-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
51+
run: npm publish --provenance --access public

0 commit comments

Comments
 (0)