ensure to swap to the stable engine

When releasing the `stable` version
This commit is contained in:
Robin Malfait 2023-02-08 15:59:28 +01:00
parent f22261b314
commit aff715eba6
No known key found for this signature in database
GPG key ID: 92F53D68B9041AFE

View file

@ -28,23 +28,21 @@ jobs:
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- name: Use the `stable` engine
run: |
node ./scripts/swap-engines.js
- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-node_modules-${{ hashFiles('**/package-lock.json') }}
# Cargo already skips downloading dependencies if they already exist
- name: Cache cargo
- name: Cache node_modules
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('./oxide/**/Cargo.lock') }}
path: node_modules
key: ${{ runner.os }}-${{ env.NODE_VERSION }}-${{ env.CACHE_PREFIX }}-node_modules-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm install
@ -53,7 +51,7 @@ jobs:
run: npm run build
- name: Test
run: npm test
run: npm run test
- name: Calculate environment variables
run: |