Update dependencies, recommend local TypeScript and vsce

Local package installations should be favored over global installations
to avoid conflicts when working on multiple projects on the same system.

Only dependencies that did not cause the build to break were updated.

- Add `package` npm script to run local vsce installation.
This commit is contained in:
Hugo Locurcio
2022-01-27 00:19:59 +01:00
parent 1b358fadec
commit 355c0f8614
4 changed files with 2556 additions and 197 deletions

View File

@@ -11,13 +11,14 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v2.5.1
with:
node-version: 12.x
node-version: 16.x
- name: Lint and build extension
run: |
npm install
npm run lint
node_modules/.bin/vsce package --out godot-tools.vsix
npm run package -- --out godot-tools.vsix
ls -l godot-tools.vsix
- name: Upload extension VSIX
uses: actions/upload-artifact@v2