Skip to content

Commit

Permalink
Cache the WASM build in Github Actions. #223
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Jul 12, 2023
1 parent 9915353 commit bb1cd2b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Cache WASM build
uses: actions/cache@v3
with:
path: route_info/target
key: doesnt-matter-share-everything-for-tests

- name: Build WASM
run: npm run wasm-release

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
- name: Install wasm-pack
uses: jetli/wasm-pack-action@v0.4.0

- name: Cache WASM build
uses: actions/cache@v3
with:
path: route_info/target
key: doesnt-matter-share-everything

- name: Build all branches
run: |
mkdir deployme
Expand Down

0 comments on commit bb1cd2b

Please sign in to comment.