Skip to content

Commit 9e5f5d2

Browse files
committed
disable more windows CI; try introducing demo:install command
1 parent 7f29666 commit 9e5f5d2

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/test.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
name: Linux
4444
- os: macos-latest
4545
name: macOS
46-
- os: windows-latest
47-
name: Windows
48-
- os: windows-latest
49-
name: Windows
50-
browser: edge
46+
# - os: windows-latest
47+
# name: Windows
48+
# - os: windows-latest
49+
# name: Windows
50+
# browser: edge
5151
exclude:
5252
- os: windows-latest
5353
browser: webkit
@@ -84,7 +84,7 @@ jobs:
8484
echo "$(realpath ~/.elan/bin)" >> $GITHUB_PATH
8585
- uses: actions/setup-node@v4
8686
- run: npm install
87-
- run: npm run demo:setup
87+
- run: npm run demo:install
8888
- name: Run tests
8989
if: matrix.os != 'windows-latest'
9090
uses: cypress-io/github-action@v6

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"url": "https://github.com/hhu-adam/lean4monaco"
3434
},
3535
"scripts": {
36-
"demo:setup": "concurrently \"(cd demo && npm install && npm run build:server)\" \"npm run build\" -n install,build -c \"bgCyan.bold,bgBlue.bold\"",
36+
"demo:install": "(cd demo && npm install && npm run build:server)",
37+
"demo:setup": "concurrently \"npm run demo:install\" \"npm run build\" -n install,build -c \"bgCyan.bold,bgBlue.bold\"",
3738
"start": "concurrently \"tsc -w --preserveWatchOutput\" \"webpack --watch\" \"npm run watch:copyfiles\" \"cd demo && npm run start:client\" \"cd demo && npm run start:server\" -n tsc,webpack,copyfiles,vite,server -c \"bgGreen.bold,bgBlue.bold,bgCyan.bold,bgYellow.bold,bgMagenta.bold\"",
3839
"watch:copyfiles": "nodemon --watch ./src --exec \"npm run build:copyfiles\"",
3940
"build:copyfiles": "cd src && copyfiles \"**/*.json\" \"**/*.css\" \"**/*.ttf\" \"**/*.otf\" \"**/*.svg\" ../dist/",

0 commit comments

Comments
 (0)