Skip to content

Commit

Permalink
Chore: Use the correct corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Apr 23, 2024
1 parent cfb93f8 commit 727aeaf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: corepack enable
- run: yarn install --immutable --immutable-cache
- name: Eslint
run: yarn eslint .
Expand All @@ -33,11 +33,11 @@ jobs:
- 18
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: corepack enable
- run: yarn install --immutable --immutable-cache
- name: Test packages
run: yarn vitest --run --coverage
Expand All @@ -54,11 +54,11 @@ jobs:
- 18
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: corepack enable
- run: yarn install --immutable --immutable-cache
- name: Typescript
run: yarn turbo tsc
Expand All @@ -70,10 +70,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: corepack enable
- run: yarn install --immutable --immutable-cache
- run: yarn turbo attw

0 comments on commit 727aeaf

Please sign in to comment.