Skip to content

Commit

Permalink
chore: enable corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed May 13, 2024
1 parent 9d3db22 commit 299ae51
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Cache node_modules
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Prepare Environment
run: yarn
run: |
corepack enable
yarn
env:
CI: true
- name: Type check
Expand Down Expand Up @@ -57,14 +54,10 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- name: Cache node_modules
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Prepare Environment
run: |
corepack enable
yarn
yarn build
env:
Expand Down

0 comments on commit 299ae51

Please sign in to comment.