Skip to content

Commit

Permalink
Update Build/Test CI to use corepack w/yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrews committed Mar 1, 2024
1 parent 6ce6898 commit 80b7148
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v2
- name: Enable Corepack
working-directory: ./web
run: corepack enable
with:
node-version: '19.x'
cache: 'yarn'
cache-dependency-path: ./web/yarn.lock
node-version: '20.x'

- name: Install yarn berry
run: yarn set version 3.5.1
working-directory: ./web
- name: Setup Node/Yarn environment
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "yarn"
cache-dependency-path: ./web/yarn.lock

- name: Install web
run: yarn install
Expand Down

0 comments on commit 80b7148

Please sign in to comment.