File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
jobs :
5
5
build-and-test :
6
- executor :
7
- name : node/default
8
- tag : ' 12.18'
6
+ docker :
7
+ - image : cimg/node:16.10.0-browsers@sha256:83ff2dcad3043c4b3f7f58513805a0c8757ba5541a1f3c213f80bd242a3c77ac
9
8
steps :
10
9
- checkout
11
10
- node/install-packages :
Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ cp syntaxes/!(tsconfig).json dist/npm/syntaxes
25
25
pushd dist/npm
26
26
# TODO(kyliau): vsce does not bundle nested node_modules due to bug
27
27
# https://github.com/microsoft/vscode-vsce/issues/432 so install using NPM for now.
28
- npm install --production --ignore-scripts
28
+ # Note: We also use `--force` as NPM incorrectly checks the dev dependencies even
29
+ # though we have limited the install to production-only dependencies. We know that
30
+ # our versions are compatible from the Yarn install, so it's acceptable to force proceed
31
+ # on peer dependency conflicts (like `tslint@6` not being supported by `tslint-eslint-rules`).
32
+ npm install --production --ignore-scripts --force
29
33
30
34
sed -i -e ' s#./dist/client/extension#./index#' package.json
31
35
../../node_modules/.bin/vsce package
You can’t perform that action at this time.
0 commit comments