Skip to content

Commit ae050d8

Browse files
committed
ci: update workflows config.
1 parent 60c1540 commit ae050d8

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/ci.yml

+4-9
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v3
1111
- uses: actions/setup-node@v3
1212
with:
13-
node-version: 16
13+
node-version: 18
1414
registry-url: 'https://registry.npmjs.org'
1515

1616
- run: npm install
@@ -69,19 +69,14 @@ jobs:
6969
7070
${{ steps.changelog.outputs.changelog }}
7171
72-
# - name: 📦 @uiw/react-markdown-editor 📦
73-
# uses: JS-DevTools/npm-publish@v1
74-
# with:
75-
# token: ${{ secrets.NPM_TOKEN }}
76-
# package: ./package.json
7772
- name: Modify package.json
7873
uses: jaywcjlove/github-action-package@main
7974
with:
8075
path: ./core/package.json
8176
unset: scripts,eslintConfig,devDependencies,browserslist
8277

8378
- name: 📦 @uiw/react-markdown-editor 📦
84-
run: npm publish
79+
run: npm publish --access public --provenance
8580
continue-on-error: true
8681
working-directory: core
8782
env:
@@ -111,10 +106,10 @@ jobs:
111106
# path: ./package.json
112107
# rename: '@uiwjs/react-markdown-editor'
113108

114-
# - run: npm publish
109+
# - run: npm publish --access public --provenance
115110
# continue-on-error: true
116111
# env:
117112
# NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
118-
# # - run: npm publish
113+
# # - run: npm publish --access public --provenance
119114
# # env:
120115
# # NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)