Use node 18.x to build vscode extension (#3735)

Fix the issue of releasing wamr-ide vscode extension:
https://github.com/bytecodealliance/wasm-micro-runtime/actions/runs/10467675321/job/28987014745
This commit is contained in:
TianlongLiang 2024-08-20 17:03:28 +08:00 committed by GitHub
parent d67cc26d56
commit f4383a9e62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,10 +20,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
- name: set vscode extension to correct version
run: |
@ -33,7 +33,7 @@ jobs:
- name: generate wamr ide vscode extension
run: |
npm install -g vsce
npm install -g @vscode/vsce
rm -rf node_modules
npm install
vsce package