Skip to content

Commit

Permalink
ci: update Core Tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Mar 27, 2024
1 parent 25fcd83 commit 8ea71fe
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/pr-core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
- ubuntu-latest
node-version:
- '16'
- 'lts/*'
leia-tests:
- basics-example
- badname-example
Expand All @@ -32,20 +32,12 @@ jobs:
# Eventually it would be great if these steps could live in a separate YAML file
# that could be included in line to avoid code duplication
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Get Yarn cache directory
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Use Yarn cache
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
cache: yarn
- name: Install Yarn dependencies
run: yarn install --prefer-offline --frozen-lockfile

Expand Down

0 comments on commit 8ea71fe

Please sign in to comment.