2828 - name : Checkout
2929 uses : actions/checkout@v4
3030 - name : Setup Node ${{ matrix.node_version }}
31- uses : actions/setup-node@v3
31+ uses : actions/setup-node@v4
3232 with :
33- node-version : 16
33+ node-version : 18
3434 registry-url : ' https://registry.npmjs.org'
3535 - name : Git Identity
3636 run : |
9191 http_status_code=$(curl -LI $GET_API_URL -o /dev/null -w '%{http_code}\n' -s \
9292 -H "Authorization: token ${GITHUB_TOKEN}")
9393 if [ "$http_status_code" -ne "404" ] ; then
94- echo "::set-output name= exists_tag:: true"
94+ echo "exists_tag= true" >> $GITHUB_OUTPUT
9595 else
96- echo "::set-output name= exists_tag:: false"
96+ echo "exists_tag= false" >> $GITHUB_OUTPUT
9797 fi
9898 env :
9999 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -106,16 +106,16 @@ jobs:
106106
107107 # Bootstrap project
108108 - name : Cache pnpm modules
109- uses : actions/cache@v3
109+ uses : actions/cache@v4
110110 with :
111111 path : ~/.pnpm-store
112112 key : ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
113113 restore-keys : |
114114 ${{ runner.os }}-
115115 - name : install
116- uses : pnpm/action-setup@v2.4.0
116+ uses : pnpm/action-setup@v4
117117 with :
118- version : 8
118+ version : 9
119119 run_install : |
120120 - recursive: true
121121 args: [--frozen-lockfile]
@@ -157,13 +157,10 @@ jobs:
157157 - name : Create Release
158158 id : create_release
159159 if : startsWith( env.COMMIT_MESSAGE , 'chore(release):' ) && steps.tag_check.outputs.exists_tag == 'false' && github.event.pull_request.merged == true
160- uses : actions/create-release@v1
161- env :
162- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
160+ uses : softprops/action-gh-release@v2
163161 with :
164162 tag_name : v${{ env.CURRENT_VERSION }}
165- # Copy Pull Request's tile and body to Release Note
166- release_name : ${{ github.event.pull_request.title }}
163+ name : ${{ github.event.pull_request.title }}
167164 body : |
168165 ${{ github.event.pull_request.body }}
169166 draft : false
0 commit comments