Set Node version in a single place (#6534)

This should make it much easier to update.  Also use 18.15.0
specifically since that is what VS Code ships with.

Additionally, it fixes the post-install script being skipped due to
a Yarn v1 bug that happens when Yarn installs node-gyp, which
it does because 18.18 onward stopped bundling node-gyp.
This commit is contained in:
Asher
2023-11-14 12:45:56 -09:00
committed by GitHub
parent 239df56634
commit da254c39ee
5 changed files with 26 additions and 26 deletions

View File

@@ -29,10 +29,10 @@ jobs:
with:
fetch-depth: 0
- name: Install Node.js v18
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version-file: .node-version
- name: Audit yarn for vulnerabilities
run: yarn audit