@@ -34,16 +34,16 @@ jobs:
3434 - name : Install and Build
3535 shell : bash
3636 run : |
37- yarn global add node-gyp
38- yarn --skip-integrity-check --network-timeout 100000
37+ npm install -g node-gyp
38+ npm ci
3939 ./scripts/check_git_status.sh
4040 env :
4141 NODE_OPTIONS : --max_old_space_size=4096
4242 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9
4343
4444 - name : Lint
4545 run : |
46- yarn lint
46+ npm run lint
4747
4848 build :
4949 name : Build and Test (${{ matrix.os }}, node-${{ matrix.node }})
@@ -72,44 +72,38 @@ jobs:
7272 with :
7373 python-version : ' 3.11'
7474
75- - name : Install
75+ - name : Build
7676 shell : bash
7777 run : |
78- yarn global add node-gyp
79- yarn --skip-integrity-check --network-timeout 100000
78+ npm install -g node-gyp
79+ npm ci
80+ npm run build
81+ git status
8082 ./scripts/check_git_status.sh
8183 env :
8284 NODE_OPTIONS : --max_old_space_size=4096
8385 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9
8486
87+
8588 - name : Download Plugins
8689 if : runner.os == 'Linux'
8790 shell : bash
8891 run : |
89- yarn -s download:plugins --rate-limit 3
90-
91- - name : Build
92- shell : bash
93- run : |
94- yarn build:examples
95- ./scripts/check_git_status.sh
96- env :
97- NODE_OPTIONS : --max_old_space_size=4096
98- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9
99-
92+ npm run download:plugins -- --rate-limit 3
93+
10094 - name : Test (headless)
10195 if : matrix.tests != 'skip'
10296 shell : bash
10397 run : |
104- yarn browser rebuild
105- yarn test:theia
98+ npm run rebuild:browser
99+ npm run test:theia
106100
107101 - name : Test (browser)
108102 if : matrix.tests != 'skip' && runner.os == 'Linux'
109103 run : |
110- xvfb-run -a yarn browser test
104+ xvfb-run -a npm run test:browser
111105
112106 - name : Test (electron)
113107 if : matrix.tests != 'skip' && runner.os == 'Linux'
114108 run : |
115- xvfb-run -a yarn electron test
109+ xvfb-run -a npm run test:electron
0 commit comments