Skip to content

Commit

Permalink
ci: wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
Gumichocopengin8 committed Aug 10, 2023
1 parent c103449 commit a46cc66
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/playwrightCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
with:
node-version: 18
- name: Install dependencies
run: npm ci
run: |
npm ci
npm run build:wasm
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright e2e tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/webCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions web/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/prefer-interface": "off",
"@typescript-eslint/no-empty-function": "off",
"react/react-in-jsx-scope": "off",
"react/self-closing-comp": ["error"],
"react/display-name": "off", // TODO: remove this in the future
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next",
"build": "next build",
"build": "npm run build:wasm && next build",
"build:wasm": "wasm-pack build src/web_assembly --target web --release",
"start": "next start -p $PORT",
"lint-app": "eslint './src/**/*.{ts,tsx}'",
Expand Down

0 comments on commit a46cc66

Please sign in to comment.