Skip to content

Commit

Permalink
Cache build dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Jan 1, 2022
1 parent 4561353 commit ae20be7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ runner.os }}-site-${{ hashFiles('**/packages-lock.json') }}
restore-keys: |
${{ runner.os }}-site-
- uses: actions-rs/toolchain@v1
id: rust_toolchain
with:
Expand All @@ -28,6 +36,7 @@ jobs:
- name: Build Playground (Install Dependencies)
working-directory: crates/rune-wasm
run: npm install

- name: Build Playground
working-directory: crates/rune-wasm
run: npm run build
Expand Down

0 comments on commit ae20be7

Please sign in to comment.