Skip to content

Commit 2d27f9d

Browse files
authored
fix(jsonwebtoken): missing WASI_SDK_PATH and C symbols (#828)
1 parent 0cd9089 commit 2d27f9d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,11 @@ jobs:
102102
build: yarn build --target aarch64-pc-windows-msvc
103103
- host: ubuntu-latest
104104
target: 'wasm32-wasip1-threads'
105-
build: yarn workspaces foreach -A --no-private -j 1 --exclude "@node-rs/deno-lint" run build --target wasm32-wasip1-threads
105+
build: |
106+
wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-22/wasi-sdk-22.0-linux.tar.gz
107+
tar -xvf wasi-sdk-22.0-linux.tar.gz
108+
export WASI_SDK_PATH="$(pwd)/wasi-sdk-22.0"
109+
yarn workspaces foreach -A --no-private -j 1 --exclude "@node-rs/deno-lint" run build --target wasm32-wasip1-threads
106110
107111
name: stable - ${{ matrix.settings.target }} - node@20
108112
runs-on: ${{ matrix.settings.host }}

ava.config.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,4 @@ const avaConfig = {
1010
},
1111
}
1212

13-
if (process.env.NAPI_RS_FORCE_WASI) {
14-
avaConfig.files.push(`!packages/jsonwebtoken/**/*.spec.ts`)
15-
}
16-
1713
export default avaConfig

0 commit comments

Comments
 (0)