We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89d716e commit b6a7eafCopy full SHA for b6a7eaf
.github/workflows/ci.yaml
@@ -4,6 +4,9 @@ on:
4
push:
5
workflow_dispatch:
6
7
+permissions:
8
+ id-token: write
9
+
10
jobs:
11
ci:
12
name: ci
@@ -34,8 +37,5 @@ jobs:
34
37
- if: startsWith(github.ref, 'refs/tags/')
35
38
name: set package.json version by tag
36
39
run: npm version --allow-same-version --no-commit-hooks --no-git-tag-version from-git
- - if: startsWith(github.ref, 'refs/tags/')
- uses: JS-DevTools/npm-publish@v3
- with:
40
- token: ${{ secrets.NPM_API_KEY }}
41
- package: sources/package.json
+ - if: startsWith(github.ref, 'refs/tags/')
+ run: npm publish
0 commit comments