Skip to content

Commit

Permalink
fix test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing committed Aug 3, 2024
1 parent e21152c commit d29a24f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run build
- run: |
# github actions run out of memory trying to compile these huge files
for i in node_modules/ace-builds/src*/{mode,worker}-{xquery,jsoniq}.js; do
echo "" > "$i"
done
- run: |
for i in samples/*; do
echo $i
$(pushd $i && npm run build)
done
- run: npm run start-test-server && npm run test

2 changes: 1 addition & 1 deletion samples/cloudscape-ace-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"ace-code": "1.30.0",
"ace-linters": "^1.0.3",
"file-loader": "6.2.0",
"next": "canary",
"next": "*",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down

0 comments on commit d29a24f

Please sign in to comment.