Skip to content

Commit 679d07c

Browse files
committed
chore: update workflows config.
1 parent 7588c0a commit 679d07c

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ on:
66

77
jobs:
88
build-deploy:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v2
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 14
14+
node-version: 16
15+
registry-url: 'https://registry.npmjs.org'
1516

1617
- run: npm install
1718
- run: npm run build
@@ -43,7 +44,7 @@ jobs:
4344

4445
- name: Create Tag
4546
id: create_tag
46-
uses: jaywcjlove/create-tag-action@v1.3.5
47+
uses: jaywcjlove/create-tag-action@main
4748
with:
4849
package-path: ./package.json
4950

@@ -76,3 +77,9 @@ jobs:
7677
7778
- run: npm install @jsdevtools/npm-publish -g
7879
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
80+
81+
- run: npm publish --access public
82+
name: 📦 @uiw/react-run-web publish to NPM
83+
continue-on-error: true
84+
env:
85+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)