77 runs-on : ubuntu-latest
88
99 steps :
10- - uses : actions/checkout@v3
10+ - uses : actions/checkout@v3.6.0
1111
1212 - name : Use Node.js
13- uses : actions/setup-node@v3
13+ uses : actions/setup-node@v3.8.2
1414 with :
1515 node-version-file : .nvmrc
1616
17+ - name : Use PNPM
18+ uses : pnpm/action-setup@v2.4.0
19+ with :
20+ version : 7
21+
1722 - run : pnpm install
1823
1924 - run : pnpm run lint
@@ -22,13 +27,18 @@ jobs:
2227 runs-on : ubuntu-latest
2328
2429 steps :
25- - uses : actions/checkout@v3
30+ - uses : actions/checkout@v3.6.0
2631
2732 - name : Use Node.js
28- uses : actions/setup-node@v3
33+ uses : actions/setup-node@v3.8.2
2934 with :
3035 node-version-file : .nvmrc
3136
37+ - name : Use PNPM
38+ uses : pnpm/action-setup@v2.4.0
39+ with :
40+ version : 7
41+
3242 - run : pnpm install
3343
3444 - run : pnpm run build
4454 with :
4555 github-token : ${{ secrets.GITHUB_TOKEN }}
4656
47- - uses : JS-DevTools/npm-publish@v2
57+ - uses : JS-DevTools/npm-publish@v2.2.2
4858 id : publish
4959 if : ${{ github.ref == 'refs/heads/main' }}
5060 with :
@@ -57,16 +67,15 @@ jobs:
5767
5868 - name : Tag
5969 if : github.ref_name == 'main' && steps.publish.outputs.type
60- uses : anothrNick/github-tag-action@v1
70+ uses : anothrNick/github-tag-action@1.67.0
6171 env :
6272 CUSTOM_TAG : ${{ steps.publish.outputs.version }}
6373 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6474
6575 - name : Release
6676 if : github.ref_name == 'main' && steps.publish.outputs.type
67- uses : softprops/action-gh-release@v1
77+ uses : softprops/action-gh-release@v2.0.4
6878 with :
6979 tag_name : ${{ steps.publish.outputs.version }}
7080 body :
71- ' Changelog: https://github.com/iendeavor/vue-next-select/blob/${{ steps.publish.outputs.version
72- }}/CHANGELOG.md'
81+ ' Changelog: https://github.com/iendeavor/vue-next-select/blob/${{ steps.publish.outputs.version }}/CHANGELOG.md'
0 commit comments