Skip to content

Commit

Permalink
fix(jsonwebtoken): missing WASI_SDK_PATH and C symbols (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Apr 21, 2024
1 parent 0cd9089 commit 2d27f9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ jobs:
build: yarn build --target aarch64-pc-windows-msvc
- host: ubuntu-latest
target: 'wasm32-wasip1-threads'
build: yarn workspaces foreach -A --no-private -j 1 --exclude "@node-rs/deno-lint" run build --target wasm32-wasip1-threads
build: |
wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-22/wasi-sdk-22.0-linux.tar.gz
tar -xvf wasi-sdk-22.0-linux.tar.gz
export WASI_SDK_PATH="$(pwd)/wasi-sdk-22.0"
yarn workspaces foreach -A --no-private -j 1 --exclude "@node-rs/deno-lint" run build --target wasm32-wasip1-threads
name: stable - ${{ matrix.settings.target }} - node@20
runs-on: ${{ matrix.settings.host }}
Expand Down
4 changes: 0 additions & 4 deletions ava.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,4 @@ const avaConfig = {
},
}

if (process.env.NAPI_RS_FORCE_WASI) {
avaConfig.files.push(`!packages/jsonwebtoken/**/*.spec.ts`)
}

export default avaConfig

0 comments on commit 2d27f9d

Please sign in to comment.