Skip to content

Commit 7f571b5

Browse files
committed
chore(ci): setup emcc
1 parent 500483f commit 7f571b5

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
node-version: lts/*
4040
cache: pnpm
4141

42+
- name: Setup emsdk
43+
uses: pyodide/setup-emsdk@v15
44+
with:
45+
version: 4.0.16
46+
actions-cache-folder: 'emsdk-cache'
47+
4248
- name: Install
4349
run: pnpm install
4450

@@ -57,6 +63,12 @@ jobs:
5763
node-version: lts/*
5864
cache: pnpm
5965

66+
- name: Setup emsdk
67+
uses: pyodide/setup-emsdk@v15
68+
with:
69+
version: 4.0.16
70+
actions-cache-folder: 'emsdk-cache'
71+
6072
- name: Install
6173
run: pnpm install
6274

.github/workflows/release-app.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ jobs:
8585
with:
8686
node-version: lts/*
8787
cache: pnpm
88+
89+
- name: Setup emsdk
90+
uses: pyodide/setup-emsdk@v15
91+
with:
92+
version: 4.0.16
93+
actions-cache-folder: 'emsdk-cache'
94+
8895
- run: pnpm install --frozen-lockfile
8996

9097
# ---------

0 commit comments

Comments
 (0)