We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ac2ba0 commit ddf202aCopy full SHA for ddf202a
2 files changed
.github/workflows/publish.yml
@@ -0,0 +1,25 @@
1
+name: publish
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+permissions:
7
+ contents: read
8
+ id-token: write
9
10
+jobs:
11
+ publish:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v4
17
18
+ - name: Set up Node.js
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: 'latest'
22
+ registry-url: 'https://registry.npmjs.org'
23
24
+ - name: Publish release
25
+ run: npm publish --access public
.github/workflows/release.yml
@@ -61,8 +61,3 @@ jobs:
61
run: |
62
git push https://github.com/${{github.repository}} master
63
git push https://github.com/${{github.repository}} "${{steps.version.outputs.current-version}}"
64
-
65
- - name: Publish release
66
- run: npm publish --access public
67
- env:
68
- NODE_AUTH_TOKEN: ${{secrets.npm}}
0 commit comments