Skip to content

Commit 8522daf

Browse files
committed
chore: update workflows config.
1 parent 7006002 commit 8522daf

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- uses: actions/setup-node@v3
3232
with:
3333
node-version: 16
34+
registry-url: 'https://registry.npmjs.org'
3435

3536
- run: npm install --unsafe-perm
3637
- run: npm run hoist
@@ -94,11 +95,12 @@ jobs:
9495
# - run: npm install @jsdevtools/npm-publish -g
9596
# - run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./core/package.json
9697

97-
- name: 📦 @wcj/code-image publish to NPM
98-
uses: JS-DevTools/npm-publish@v1
99-
with:
100-
token: ${{ secrets.NPM_TOKEN }}
101-
package: ./core/package.json
98+
99+
- run: npm publish --access public
100+
name: 📦 @wcj/code-image publish to NPM
101+
continue-on-error: true
102+
env:
103+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
102104

103105

104106
outputs:

0 commit comments

Comments
 (0)