Skip to content

Commit

Permalink
build: update emsdk and node
Browse files Browse the repository at this point in the history
  • Loading branch information
jgriffiths committed Jan 29, 2024
1 parent aa6fd13 commit ec9e566
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/wasm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
# we don't need for building the NPM package.
- run: sudo contrib/bullseye_deps.sh -j -n -w

# Upgrade node (emsdk installed by bullseye_deps uses v16 which is EOL)
uses: actions/setup-node@v4
with:
node-version: 20

# Build NPM package into a tgz file (pack internally triggers the build/prepare script)
- run: cd src/wasm_package && npm install && npm pack --foreground-scripts
name: Build & Pack
Expand Down
4 changes: 2 additions & 2 deletions contrib/bullseye_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ fi
if [ -z "$skip_emsdk" ]; then
git clone https://github.com/emscripten-core/emsdk
cd emsdk
./emsdk install 3.1.27
./emsdk activate 3.1.27
./emsdk install 3.1.52
./emsdk activate 3.1.52
source ./emsdk_env.sh
fi

Expand Down

0 comments on commit ec9e566

Please sign in to comment.