Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:

steps:
- name: Check out repository code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install Node 20
uses: actions/setup-node@v4
- name: Install Node 24
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '24'
cache: 'npm'

- name: Install XVFB for testing with VS Code
Expand All @@ -29,19 +29,19 @@ jobs:
sudo apt-get -y install --fix-missing xvfb

- name: Cache wasm-pack binary
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.cargo/bin/wasm-pack
key: wasm-pack-${{ runner.os }}-v0.14.0
key: wasm-pack-${{ runner.os }}-v0.15.0

- name: Update rust and install wasm-pack
run: |
rustup update stable && rustup default stable
which wasm-pack || cargo install wasm-pack --version 0.14.0
which wasm-pack || cargo install wasm-pack --version 0.15.0

- name: Cache cargo build artifacts
# https://doc.rust-lang.org/cargo/guide/build-cache.html
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: |
vscode-cedar-wasm/target
Expand All @@ -59,7 +59,7 @@ jobs:
echo "VSCODE_VERSION=`curl --silent https://update.code.visualstudio.com/api/releases/stable | jq -r '.[0]'`" >> "$GITHUB_OUTPUT"

- name: Cache VS Code download
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: |
.vscode-test
Expand All @@ -85,7 +85,7 @@ jobs:
fi

- name: Upload VSIX as a workflow artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: vsix
path: ./*.vsix
3 changes: 3 additions & 0 deletions .vscode-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const { defineConfig } = require('@vscode/test-cli');

module.exports = defineConfig({
files: 'out/test/**/*.test.js',
mocha: {
timeout: 10000
},
// --disable-gpu prevents the following error
// ERROR:gl_display.cc(497)] EGL Driver message (Error) eglQueryDeviceAttribEXT: Bad attribute.
launchArgs: [
Expand Down
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
"esbenp.prettier-vscode",
"rust-lang.rust-analyzer"
]
}
8 changes: 4 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"out": true // set this to false to include "out" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off",
"js/ts.tsc.autoDetect": "off",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
Expand All @@ -30,9 +30,9 @@
"Dockerfile": ".dockerignore"
},
"terminal.integrated.env.osx": {
"PATH": "/usr/local/opt/llvm/bin/:$PATH",
"CC": "/usr/local/opt/llvm/bin/clang",
"AR": "/usr/local/opt/llvm/bin/llvm-ar"
"PATH": "/opt/homebrew/opt/llvm/bin/:$PATH",
"CC": "/opt/homebrew/opt/llvm/bin/clang",
"AR": "/opt/homebrew/opt/llvm/bin/llvm-ar"
},
"git.alwaysSignOff": true
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v0.10.4 (Preview) 2026-07-06

- Update to Cedar SDK 4.11.2

## v0.10.3 (Preview) 2026-03-18

- Update to Cedar SDK 4.9.1
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20
FROM node:24
RUN apt-get -y update
RUN apt-get -y install --fix-missing xvfb
RUN apt-get -y install libnss3 libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 libgbm-dev libasound2
Expand All @@ -18,7 +18,7 @@ mkdir ~/.vscode && echo '{ "disable-hardware-acceleration": true }' > ~/.vscode/
# Build and Test
npm ci
rustup update stable && rustup default stable
cargo install wasm-pack --version 0.13.1
cargo install wasm-pack --version 0.15.0
npm run wasm-build
npm run compile
xvfb-run -a npm run test
Expand Down
8 changes: 4 additions & 4 deletions development.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

### macOS wasm build support

Install `llvm`
Install `llvm` on Apple Silicon Macs

```bash
brew install llvm
export PATH="/usr/local/opt/llvm/bin/:$PATH"
export CC=/usr/local/opt/llvm/bin/clang
export AR=/usr/local/opt/llvm/bin/llvm-ar
export PATH="/opt/homebrew/opt/llvm/bin/:$PATH"
export CC=/opt/homebrew/opt/llvm/bin/clang
export AR=/opt/homebrew/opt/llvm/bin/llvm-ar
```

```bash
Expand Down
Loading