Skip to content

Commit 232c3cd

Browse files
edgardmessiasJohnstonCode
authored andcommitted
chore: Speed up the AppVeyor [skip ci]
1 parent 1dad84a commit 232c3cd

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

.appveyor.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
build: false
2+
shallow_clone: true
3+
14
environment:
25
ELECTRON_NO_ATTACH_CONSOLE: 1
36
VSCODE_BUILD_VERBOSE: true
@@ -7,26 +10,17 @@ environment:
710
- CODE_VERSION: "*" # Last Stable Version
811
- CODE_VERSION: "insiders" # Insider Version
912

10-
# platform:
11-
# - x86
12-
# - x64
13-
1413
cache:
15-
- node_modules
16-
17-
artifacts:
18-
- path: svn-scm.vsix
19-
name: SVN-SCM
14+
- node_modules -> package-lock.json
15+
- '%APPDATA%\npm-cache\_cacache\index-v5' # Only indexes
2016

2117
install:
22-
# - ps: Install-Product node 8.9.1
23-
- npm install -g vsce
2418
- node --version
2519
- npm --version
26-
- npm install
20+
- npm install --no-audit
2721

28-
build_script:
29-
- vsce package -o svn-scm.vsix
22+
before_test:
23+
- npm run build
3024
# For coverage
3125
- ps: (get-content package.json) | %{$_ -replace '"\*"',''} | set-content package.json
3226

0 commit comments

Comments
 (0)