Cache WASM dependencies

This commit is contained in:
Noah authored and GitHub committed 2020-02-04 21:43:06 -06:00
1 parent 4c49185b52
commit 60037a2fbb
1 file changed
+7
+7
View File
@@ -124,6 +124,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Cache cargo dependencies
uses: actions/cache@v1
with:
key: ${{ runner.os }}-wasm-${{ hashFiles('**/Cargo.lock') }}
path: target
restore-keys: |
${{ runner.os }}-wasm-
- name: install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: install geckodriver