Skip to content

Commit 210c331

Browse files
committed
chore: update workflows config.
1 parent 5338cf0 commit 210c331

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- uses: actions/setup-node@v3
1414
with:
1515
node-version: 16
16+
registry-url: 'https://registry.npmjs.org'
1617

1718
- run: npm -v
1819
- run: npm install
@@ -72,10 +73,12 @@ jobs:
7273
7374
${{ steps.changelog.outputs.changelog }}
7475
75-
- uses: JS-DevTools/npm-publish@v1
76-
with:
77-
token: ${{ secrets.NPM_TOKEN }}
78-
package: ./core/package.json
76+
- run: npm publish
77+
name: 📦 react-code-preview-layout publish to NPM
78+
continue-on-error: true
79+
working-directory: core
80+
env:
81+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7982

8083
outputs:
8184
successful: ${{steps.create_tag.outputs.successful }}

0 commit comments

Comments
 (0)