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
11 changes: 6 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,11 @@ jobs:
submodules: recursive

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '24'
cache: 'npm'
cache-dependency-path: package-lock.json

- name: Install Emscripten
uses: mymindstorm/setup-emsdk@v14
Expand All @@ -135,9 +137,8 @@ jobs:
cp packages/tml-cpp/build/wasm-standard/browser/tml-standard.js packages/tml-js/wasm/
cp packages/tml-cpp/build/wasm-standard/browser/tml-standard.wasm packages/tml-js/wasm/

- name: Install JS package dependencies
working-directory: packages/tml-js
run: npm install
- name: Install dependencies
run: npm ci

- name: Build JS package
working-directory: packages/tml-js
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/build-playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
node-version: '24'
cache: 'npm'
cache-dependency-path: packages/playground/package-lock.json
cache-dependency-path: package-lock.json

- name: Setup Emscripten
uses: mymindstorm/setup-emsdk@v14
Expand All @@ -45,8 +45,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y doxygen graphviz

- name: Install playground dependencies
working-directory: packages/playground
- name: Install dependencies
run: npm ci

- name: Build playground
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/changeset-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ jobs:
with:
github-token: ${{ github.token }}

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'npm'
cache-dependency-path: package-lock.json

- name: Rebuild lockfile
run: npm install

- name: Commit and create PR
if: steps.check.outputs.has_changesets == 'true'
env:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/deploy-playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
node-version: '24'
cache: 'npm'
cache-dependency-path: packages/playground/package-lock.json
cache-dependency-path: package-lock.json

- name: Setup Emscripten
uses: mymindstorm/setup-emsdk@v14
Expand All @@ -44,8 +44,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y doxygen graphviz

- name: Install playground dependencies
working-directory: packages/playground
- name: Install dependencies
run: npm ci

- name: Build playground
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,11 @@ jobs:
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '24'
cache: 'npm'
cache-dependency-path: package-lock.json

- name: Download WASM artifacts
uses: actions/download-artifact@v4
Expand All @@ -181,7 +183,6 @@ jobs:
path: packages/tml-js/wasm/

- name: Install dependencies
working-directory: packages/tml-js
run: npm ci

- name: Build package
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,20 @@ jobs:
needs: [build-wasm]
runs-on: ubuntu-latest
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
permissions:
contents: read
id-token: write

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '24'
cache: 'npm'
cache-dependency-path: package-lock.json
registry-url: 'https://registry.npmjs.org'

- name: Download WASM artifacts
Expand All @@ -170,7 +175,6 @@ jobs:
path: packages/tml-js/wasm/

- name: Install dependencies
working-directory: packages/tml-js
run: npm ci

- name: Build package
Expand All @@ -179,9 +183,7 @@ jobs:

- name: Publish to NPM
working-directory: packages/tml-js
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public --provenance

# Publish NuGet package
publish-nuget:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading