Skip to content

Commit

Permalink
ensure to swap to the stable engine
Browse files Browse the repository at this point in the history
When releasing the `stable` version
  • Loading branch information
RobinMalfait committed Feb 8, 2023
1 parent f22261b commit aff715e
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -53,7 +51,7 @@ jobs:
run: npm run build

- name: Test
run: npm test
run: npm run test

- name: Calculate environment variables
run: |
Expand Down

0 comments on commit aff715e

Please sign in to comment.