We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8f100 commit 5f14942Copy full SHA for 5f14942
1 file changed
.github/workflows/release.yml
@@ -1,9 +1,9 @@
1
-name: 'release'
+name: "release"
2
3
on:
4
push:
5
tags:
6
- - '*'
+ - "*"
7
8
permissions:
9
contents: write
@@ -17,7 +17,8 @@ jobs:
17
- uses: actions/checkout@v4
18
- uses: actions/setup-node@v4
19
with:
20
- node-version: '22'
+ node-version: "22"
21
+ registry-url: https://registry.npmjs.org
22
- name: enable corepack
23
run: corepack enable
24
shell: bash
@@ -37,11 +38,7 @@ jobs:
37
38
run: |
39
TAG_NAME=${GITHUB_REF#refs/tags/}
40
jq --arg version "$TAG_NAME" '.version = $version' package.json > tmp.$$.json && mv tmp.$$.json package.json
-
41
- - uses: JS-DevTools/npm-publish@v3
42
- with:
43
- token: ${{ secrets.NPM_TOKEN }}
44
+ - run: npm publish
45
- name: Create Github Release
46
uses: elgohr/Github-Release-Action@v5
47
env:
0 commit comments