@@ -30,11 +30,11 @@ jobs:
3030 node-version : ' 10.x'
3131
3232 - name : Install Dependencies
33- run : ' npm ci || npm ci '
33+ run : ' yarn install --frozen-lockfile || yarn install --frozen-lockfile '
3434 shell : bash
3535
3636 - name : Compile sources
37- run : npm run build
37+ run : yarn run build
3838
3939 - name : Cache VSCode binary
4040 id : cache-vscode
@@ -49,16 +49,16 @@ jobs:
4949 - name : Run tests
5050 uses : GabrielBB/xvfb-action@v1.0
5151 with :
52- run : npm test
52+ run : yarn test
5353 env :
5454 CODE_VERSION : ${{ matrix.version }}
5555 continue-on-error : ${{ matrix.version == 'insiders' }}
5656
5757 - name : Release
5858 if : startsWith(matrix.os, 'ubuntu') && matrix.version == 'stable' && github.ref == 'refs/heads/master' && github.repository == 'JohnstonCode/svn-scm'
5959 run : |
60- npm run organize
61- npm run semantic-release
60+ yarn run organize
61+ yarn run semantic-release
6262 env :
6363 VSCE_TOKEN : ${{ secrets.vsceToken }}
6464 GITHUB_TOKEN : ${{ secrets.githubToken }}
@@ -82,11 +82,11 @@ jobs:
8282 node-version : ' 10.x'
8383
8484 - name : Install Dependencies
85- run : ' npm ci || npm ci '
85+ run : ' yarn install --frozen-lockfile || yarn install --frozen-lockfile '
8686 shell : bash
8787
8888 - name : Lint check
89- run : npm run lint --silent -- -f stylish
89+ run : yarn run lint --silent -- -f stylish
9090
9191 artifact :
9292 runs-on : ubuntu-latest
@@ -102,7 +102,7 @@ jobs:
102102 node-version : ' 10.x'
103103
104104 - name : Install Dependencies
105- run : ' npm ci || npm ci '
105+ run : ' yarn install --frozen-lockfile || yarn install --frozen-lockfile '
106106 shell : bash
107107
108108 - name : Package extension
0 commit comments