@@ -30,11 +30,11 @@ jobs:
30
30
node-version : ' 10.x'
31
31
32
32
- name : Install Dependencies
33
- run : ' npm ci || npm ci '
33
+ run : ' yarn install --frozen-lockfile || yarn install --frozen-lockfile '
34
34
shell : bash
35
35
36
36
- name : Compile sources
37
- run : npm run build
37
+ run : yarn run build
38
38
39
39
- name : Cache VSCode binary
40
40
id : cache-vscode
@@ -49,16 +49,16 @@ jobs:
49
49
- name : Run tests
50
50
uses : GabrielBB/xvfb-action@v1.0
51
51
with :
52
- run : npm test
52
+ run : yarn test
53
53
env :
54
54
CODE_VERSION : ${{ matrix.version }}
55
55
continue-on-error : ${{ matrix.version == 'insiders' }}
56
56
57
57
- name : Release
58
58
if : startsWith(matrix.os, 'ubuntu') && matrix.version == 'stable' && github.ref == 'refs/heads/master' && github.repository == 'JohnstonCode/svn-scm'
59
59
run : |
60
- npm run organize
61
- npm run semantic-release
60
+ yarn run organize
61
+ yarn run semantic-release
62
62
env :
63
63
VSCE_TOKEN : ${{ secrets.vsceToken }}
64
64
GITHUB_TOKEN : ${{ secrets.githubToken }}
@@ -82,11 +82,11 @@ jobs:
82
82
node-version : ' 10.x'
83
83
84
84
- name : Install Dependencies
85
- run : ' npm ci || npm ci '
85
+ run : ' yarn install --frozen-lockfile || yarn install --frozen-lockfile '
86
86
shell : bash
87
87
88
88
- name : Lint check
89
- run : npm run lint --silent -- -f stylish
89
+ run : yarn run lint --silent -- -f stylish
90
90
91
91
artifact :
92
92
runs-on : ubuntu-latest
@@ -102,7 +102,7 @@ jobs:
102
102
node-version : ' 10.x'
103
103
104
104
- name : Install Dependencies
105
- run : ' npm ci || npm ci '
105
+ run : ' yarn install --frozen-lockfile || yarn install --frozen-lockfile '
106
106
shell : bash
107
107
108
108
- name : Package extension
0 commit comments