File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
build-deploy :
9
- runs-on : ubuntu-18.04
9
+ runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
12
- - uses : actions/setup-node@v2
11
+ - uses : actions/checkout@v3
12
+ - uses : actions/setup-node@v3
13
13
with :
14
- node-version : 14
14
+ node-version : 16
15
+ registry-url : ' https://registry.npmjs.org'
15
16
16
17
- run : npm install
17
18
- run : npm run build
@@ -20,13 +21,13 @@ jobs:
20
21
21
22
- name : Create Tag
22
23
id : create_tag
23
- uses : jaywcjlove/create-tag-action@v1.3.5
24
+ uses : jaywcjlove/create-tag-action@main
24
25
with :
25
26
package-path : ./package.json
26
27
27
28
- name : Generate Changelog
28
29
id : changelog
29
- uses : jaywcjlove/changelog-generator@v1.4.8
30
+ uses : jaywcjlove/changelog-generator@main
30
31
with :
31
32
token : ${{ secrets.GITHUB_TOKEN }}
32
33
head-ref : ${{steps.create_tag.outputs.version}}
60
61
with :
61
62
github-token : ${{ secrets.GITHUB_TOKEN }}
62
63
63
- - run : npm install @jsdevtools/npm-publish -g
64
- - run : npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
64
+ - run : npm publish --access public
65
+ name : 📦 @uiw/react-only-when publish to NPM
66
+ continue-on-error : true
67
+ env :
68
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
69
+ # - run: npm install @jsdevtools/npm-publish -g
70
+ # - run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
You can’t perform that action at this time.
0 commit comments