@@ -34,16 +34,16 @@ jobs:
34
34
- name : Install and Build
35
35
shell : bash
36
36
run : |
37
- yarn global add node-gyp
38
- yarn --skip-integrity-check --network-timeout 100000
37
+ npm install -g node-gyp
38
+ npm ci
39
39
./scripts/check_git_status.sh
40
40
env :
41
41
NODE_OPTIONS : --max_old_space_size=4096
42
42
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9
43
43
44
44
- name : Lint
45
45
run : |
46
- yarn lint
46
+ npm run lint
47
47
48
48
build :
49
49
name : Build and Test (${{ matrix.os }}, node-${{ matrix.node }})
@@ -72,44 +72,38 @@ jobs:
72
72
with :
73
73
python-version : ' 3.11'
74
74
75
- - name : Install
75
+ - name : Build
76
76
shell : bash
77
77
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
80
82
./scripts/check_git_status.sh
81
83
env :
82
84
NODE_OPTIONS : --max_old_space_size=4096
83
85
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9
84
86
87
+
85
88
- name : Download Plugins
86
89
if : runner.os == 'Linux'
87
90
shell : bash
88
91
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
+
100
94
- name : Test (headless)
101
95
if : matrix.tests != 'skip'
102
96
shell : bash
103
97
run : |
104
- yarn browser rebuild
105
- yarn test:theia
98
+ npm run rebuild:browser
99
+ npm run test:theia
106
100
107
101
- name : Test (browser)
108
102
if : matrix.tests != 'skip' && runner.os == 'Linux'
109
103
run : |
110
- xvfb-run -a yarn browser test
104
+ xvfb-run -a npm run test:browser
111
105
112
106
- name : Test (electron)
113
107
if : matrix.tests != 'skip' && runner.os == 'Linux'
114
108
run : |
115
- xvfb-run -a yarn electron test
109
+ xvfb-run -a npm run test:electron
0 commit comments