File tree Expand file tree Collapse file tree 5 files changed +21
-21
lines changed Expand file tree Collapse file tree 5 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ extends:
57
57
- script : npm ci
58
58
displayName : Install NPM dependencies
59
59
60
- - script : yarn ts-node ./scripts/ci/monaco-editor-core-prepare nightly
60
+ - script : npm run ts-node ./scripts/ci/monaco-editor-core-prepare nightly
61
61
env :
62
62
VSCODE_REF : ${{ parameters.vscodeRef }}
63
63
PRERELEASE_VERSION : ${{ parameters.prereleaseVersion }}
@@ -78,7 +78,7 @@ extends:
78
78
- script : npm ci
79
79
displayName : Install NPM dependencies
80
80
81
- - script : yarn ts-node ./scripts/ci/monaco-editor-prepare nightly
81
+ - script : npm run ts-node ./scripts/ci/monaco-editor-prepare nightly
82
82
env :
83
83
VSCODE_REF : ${{ parameters.vscodeRef }}
84
84
PRERELEASE_VERSION : ${{ parameters.prereleaseVersion }}
Original file line number Diff line number Diff line change @@ -65,12 +65,12 @@ jobs:
65
65
66
66
- name : Install website node modules
67
67
working-directory : website
68
- run : yarn install --frozen-lockfile
68
+ run : npm ci
69
69
70
70
- name : Build website
71
71
working-directory : website
72
- run : yarn run build
72
+ run : npm run build
73
73
74
74
- name : Test website
75
75
working-directory : website
76
- run : yarn test
76
+ run : npm run test
Original file line number Diff line number Diff line change 28
28
uses : actions/checkout@v3
29
29
- uses : actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # pin@v2
30
30
with :
31
- node-version : 16
31
+ node-version : 20
32
32
- name : Cache node modules
33
33
id : cacheNodeModules
34
34
uses : actions/cache@v2
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ This can be done directly from the VS Code repository and does not involve the m
35
35
36
36
- Clone the [ VS Code repository] ( https://github.com/microsoft/vscode ) : ` git clone https://github.com/microsoft/vscode `
37
37
- Open the repository in VS Code: ` code vscode `
38
- - Run ` yarn install`
38
+ - Run ` npm install`
39
39
- Select and run the launch configuration "Monaco Editor Playground" (this might take a while, as it compiles the sources):
40
40
41
41
![ ] ( ./docs/launch%20config.png )
Original file line number Diff line number Diff line change 3
3
4
4
# cwd must be the vscode repository.
5
5
6
- yarn --frozen-lockfile --network-timeout 180000
7
- yarn playwright-install
8
- yarn gulp hygiene
9
- yarn valid-layers-check
10
- yarn --cwd build compile
11
- yarn eslint
12
- yarn monaco-compile-check
13
- yarn --max_old_space_size=4095 compile
6
+ npm ci
7
+ npm run playwright-install
8
+ npm run gulp hygiene
9
+ npm run valid-layers-check
10
+ cd build && npm run compile && cd -
11
+ npm run eslint
12
+ npm run monaco-compile-check
13
+ npm run compile
14
14
15
- yarn test-browser --browser chromium
15
+ npm run test-browser --browser chromium
16
16
17
- yarn gulp editor-distro
17
+ npm run gulp editor-distro
18
18
mkdir typings-test
19
19
20
20
cd typings-test
@@ -25,10 +25,10 @@ echo "import '../out-monaco-editor-core';" > a.ts
25
25
cd ..
26
26
27
27
cd test/monaco
28
- yarn run esm-check
29
- yarn run bundle-webpack
30
- yarn run compile
31
- yarn test
28
+ npm run esm-check
29
+ npm run bundle-webpack
30
+ npm run compile
31
+ npm test
32
32
cd ../..
33
33
34
34
# npm package is now in dependencies/vscode/out-monaco-editor-core, ready to be published
You can’t perform that action at this time.
0 commit comments