File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -28,23 +28,21 @@ jobs:
2828 registry-url : ' https://registry.npmjs.org'
2929 cache : ' npm'
3030
31+ - name : Use the `stable` engine
32+ run : |
33+ node ./scripts/swap-engines.js
34+
3135 - name : Cache node_modules
3236 uses : actions/cache@v3
3337 with :
3438 path : node_modules
3539 key : ${{ runner.os }}-${{ matrix.node-version }}-node_modules-${{ hashFiles('**/package-lock.json') }}
3640
37- # Cargo already skips downloading dependencies if they already exist
38- - name : Cache cargo
41+ - name : Cache node_modules
3942 uses : actions/cache@v3
4043 with :
41- path : |
42- ~/.cargo/bin/
43- ~/.cargo/registry/index/
44- ~/.cargo/registry/cache/
45- ~/.cargo/git/db/
46- target/
47- key : ${{ runner.os }}-cargo-${{ hashFiles('./oxide/**/Cargo.lock') }}
44+ path : node_modules
45+ key : ${{ runner.os }}-${{ env.NODE_VERSION }}-${{ env.CACHE_PREFIX }}-node_modules-${{ hashFiles('**/package-lock.json') }}
4846
4947 - name : Install dependencies
5048 run : npm install
5351 run : npm run build
5452
5553 - name : Test
56- run : npm test
54+ run : npm run test
5755
5856 - name : Calculate environment variables
5957 run : |
You can’t perform that action at this time.
0 commit comments