88 windows :
99 runs-on : windows-latest
1010 steps :
11- - uses : actions/checkout@v3
12- - uses : actions/setup-node@v3
11+ - uses : actions/checkout@v4
12+ - uses : actions/setup-node@v4
1313 with :
14- node-version : 16
14+ node-version : 20
15+ registry-url : ' https://registry.npmjs.org'
1516
1617 - name : Look Changelog
1718 uses : jaywcjlove/changelog-generator@main
@@ -28,10 +29,10 @@ jobs:
2829 build :
2930 runs-on : ubuntu-latest
3031 steps :
31- - uses : actions/checkout@v3
32- - uses : actions/setup-node@v3
32+ - uses : actions/checkout@v4
33+ - uses : actions/setup-node@v4
3334 with :
34- node-version : 16
35+ node-version : 20
3536 registry-url : ' https://registry.npmjs.org'
3637
3738 - name : Look Changelog
7576 uses : jaywcjlove/changelog-generator@main
7677
7778 - name : Deploy
78- uses : peaceiris/actions-gh-pages@v3
79+ uses : peaceiris/actions-gh-pages@v4
7980 with :
8081 commit_message : ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
8182 github_token : ${{ secrets.GITHUB_TOKEN }}
9495 uses : ncipollo/release-action@v1
9596 if : steps.create_tag.outputs.successful
9697 with :
98+ allowUpdates : true
9799 token : ${{ secrets.GITHUB_TOKEN }}
98- name : ${{ steps.changelog .outputs.tag }}
99- tag : ${{ steps.changelog .outputs.tag }}
100+ name : ${{ steps.create_tag .outputs.version }}
101+ tag : ${{ steps.create_tag .outputs.version }}
100102 body : |
101103 Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/uiwjs/react-codemirror/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
102104 Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
@@ -105,7 +107,7 @@ jobs:
105107
106108 - run : npm publish --access public
107109 name : 📦 @uiw/react-layout publish to NPM
108- working-directory : ./ core/
110+ working-directory : core
109111 continue-on-error : true
110112 env :
111113 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
0 commit comments