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 da004df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
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 da004df

Please sign in to comment.