66
77jobs :
88 build :
9- runs-on : ubuntu-18.04
9+ runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v3
12- - uses : actions/setup-node@v2
12+ - uses : actions/setup-node@v3
1313 with :
1414 node-version : 16
15+ registry-url : ' https://registry.npmjs.org'
1516
1617 - run : npm install
1718 - run : npm install --workspaces
@@ -28,13 +29,13 @@ jobs:
2829
2930 - name : Create Tag
3031 id : create_tag
31- uses : jaywcjlove/create-tag-action@v1.3.6
32+ uses : jaywcjlove/create-tag-action@main
3233 with :
3334 package-path : ./core/package.json
3435
3536 - name : get tag version
3637 id : tag_version
37- uses : jaywcjlove/changelog-generator@v1.5.3
38+ uses : jaywcjlove/changelog-generator@main
3839
3940 - name : Deploy Website
4041 uses : peaceiris/actions-gh-pages@v3
4748
4849 - name : Generate Changelog
4950 id : changelog
50- uses : jaywcjlove/changelog-generator@v1.5.3
51+ uses : jaywcjlove/changelog-generator@main
5152 with :
5253 token : ${{ secrets.GITHUB_TOKEN }}
5354 filter-author : (小弟调调™|dependabot\[bot\]|Renovate Bot)
7879 github_token : ${{ secrets.GITHUB_TOKEN }}
7980 publish_dir : ./website/build
8081
81- - uses : JS-DevTools/npm-publish@v1
82- with :
83- token : ${{ secrets.NPM_TOKEN }}
84- package : ./core/package.json
82+ - run : npm publish
83+ name : 📦 markdown-react-code-preview-loader publish to NPM
84+ working-directory : core
85+ continue-on-error : true
86+ env :
87+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
0 commit comments