55 paths :
66 - .nvmrc
77 - package.json
8- - yarn. lock
8+ - package- lock.json
99 - .github/workflows/pr-check_scripts.yml
1010
1111# No GITHUB_TOKEN permissions, as we only use it to increase API limit.
@@ -24,15 +24,15 @@ jobs:
2424 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2525 with :
2626 node-version-file : " .nvmrc"
27- cache : yarn
27+ cache : npm
2828
29- - name : yarn install
30- run : yarn --frozen-lockfile
29+ - name : npm ci
30+ run : npm ci
3131 env :
3232 # https://github.com/microsoft/vscode-ripgrep#github-api-limit-note
3333 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3434
35- - run : yarn up-to-date-check
35+ - run : npm run up-to-date-check
3636
3737 start :
3838 runs-on : ubuntu-latest
@@ -46,16 +46,16 @@ jobs:
4646 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
4747 with :
4848 node-version-file : " .nvmrc"
49- cache : yarn
49+ cache : npm
5050
51- - name : yarn install
52- run : yarn --frozen-lockfile
51+ - name : npm ci
52+ run : npm ci
5353 env :
5454 # https://github.com/microsoft/vscode-ripgrep#github-api-limit-note
5555 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5656
57- - name : yarn start
58- run : yarn start > /tmp/stdout.log 2> /tmp/stderr.log &
57+ - name : npm start
58+ run : npm start > /tmp/stdout.log 2> /tmp/stderr.log &
5959
6060 - name : Wait for Rari (localhost:8083)
6161 run : curl --retry-connrefused --retry 5 -I http://localhost:8083/en-US/
@@ -88,15 +88,15 @@ jobs:
8888 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
8989 with :
9090 node-version-file : " .nvmrc"
91- cache : yarn
91+ cache : npm
9292
93- - name : yarn install
94- run : yarn --frozen-lockfile
93+ - name : npm ci
94+ run : npm ci
9595 env :
9696 # https://github.com/microsoft/vscode-ripgrep#github-api-limit-note
9797 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9898
99- - run : yarn filecheck --help
99+ - run : npm run filecheck -- --help
100100
101101 content :
102102 runs-on : ubuntu-latest
@@ -110,19 +110,19 @@ jobs:
110110 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
111111 with :
112112 node-version-file : " .nvmrc"
113- cache : yarn
113+ cache : npm
114114
115- - name : Install all yarn packages
116- run : yarn --frozen-lockfile
115+ - name : Install
116+ run : npm ci
117117 env :
118118 # https://github.com/microsoft/vscode-ripgrep#github-api-limit-note
119119 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
120120
121- - run : yarn content --help
121+ - run : npm run content -- --help
122122
123- - run : yarn content fix-redirects en-US
123+ - run : npm run content fix-redirects en-US
124124
125- - run : yarn content validate-redirects en-US
125+ - run : npm run content validate-redirects en-US
126126
127127 build :
128128 runs-on : ubuntu-latest
@@ -136,12 +136,12 @@ jobs:
136136 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
137137 with :
138138 node-version-file : " .nvmrc"
139- cache : yarn
139+ cache : npm
140140
141- - name : yarn install
142- run : yarn --frozen-lockfile
141+ - name : npm ci
142+ run : npm ci
143143 env :
144144 # https://github.com/microsoft/vscode-ripgrep#github-api-limit-note
145145 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
146146
147- - run : yarn build --help
147+ - run : npm run build -- --help
0 commit comments