build: bump node version to 22 (#654)

This commit is contained in:
Myriad-Dreamin 2024-10-10 11:39:48 +08:00 committed by GitHub
parent 471b2fd349
commit f5520691fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,7 +79,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22
if: (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true')
- name: Install deps
run: yarn install
@ -337,6 +337,10 @@ jobs:
if: success() && startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'rc')
steps:
- uses: actions/download-artifact@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install deps
run: yarn install
- name: Deploy to VS Code Marketplace