88 build-deploy :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v3
12- - uses : actions/setup-node@v3
11+ - uses : actions/checkout@v6
12+ - uses : actions/setup-node@v6
1313 with :
14- node-version : 16
14+ node-version : 24
1515 registry-url : ' https://registry.npmjs.org'
1616
1717 - run : npm install
3737 uses : jaywcjlove/changelog-generator@main
3838
3939 - name : Deploy
40- uses : peaceiris/actions-gh-pages@v3
40+ uses : peaceiris/actions-gh-pages@v4
4141 with :
42- user_name : ' github-actions[bot]'
43- user_email : ' github-actions[bot]@users.noreply.github.com'
44- commit_message : ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
42+ commit_message : ${{ github.event.head_commit.message }}
4543 github_token : ${{ secrets.GITHUB_TOKEN }}
4644 publish_dir : ./www/build
4745
5755 uses : ncipollo/release-action@v1
5856 if : steps.create_tag.outputs.successful
5957 with :
58+ allowUpdates : true
6059 token : ${{ secrets.GITHUB_TOKEN }}
6160 name : ${{ steps.create_tag.outputs.version }}
6261 tag : ${{ steps.create_tag.outputs.version }}
@@ -74,10 +73,10 @@ jobs:
7473
7574 ${{ steps.changelog.outputs.changelog }}
7675
77- - run : npm publish --access public
76+ # node@v24.0.0+
77+ # https://gist.github.com/jaywcjlove/a178278521a6f72c74525d3f1d9c4bf9
78+ - run : npm publish --access public --provenance --tag latest
7879 name : 📦 @uiw/react-shields publish to NPM
7980 continue-on-error : true
8081 working-directory : core
81- env :
82- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
8382
0 commit comments