Skip to content

Commit f743b26

Browse files
committed
updated ci
1 parent 2164c2e commit f743b26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
6060
- name: Disable pre- and post-publish actions
6161
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
62-
- uses: JS-DevTools/npm-publish@v1
62+
- uses: JS-DevTools/npm-publish@v2
6363
with:
6464
token: ${{ secrets.NPM_TOKEN }}
6565
tag: ${{ env.GITHUB_REF_SLUG }}
@@ -72,12 +72,12 @@ jobs:
7272
- uses: actions/download-artifact@v4
7373
with:
7474
name: build
75-
- uses: actions/setup-node@v1
75+
- uses: actions/setup-node@v4
7676
with:
7777
node-version: 20.x
7878
- name: Disable pre- and post-publish actions
7979
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
80-
- uses: JS-DevTools/npm-publish@v1
80+
- uses: JS-DevTools/npm-publish@v2
8181
with:
8282
token: ${{ secrets.NPM_TOKEN }}
8383
tag: latest

0 commit comments

Comments
 (0)