Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
activate corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykhoyda committed Jan 10, 2024
1 parent 4368801 commit 87243e9
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Activate corepack
run: corepack enable
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: 'yarn'

- name: Activate corepack
run: corepack enable
- name: Install deps
run: yarn --immutable
- name: Build
Expand All @@ -34,12 +34,13 @@ jobs:
name: 'Download Metamask extension'
runs-on: ubuntu-latest
steps:
- name: Activate corepack
run: corepack enable
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: 'yarn'
- run: corepack enable
- name: Install deps
run: yarn --immutable
- name: Download metamask
Expand All @@ -53,12 +54,12 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- run: corepack enable
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: 'yarn'
- run: corepack enable
- name: Install deps
run: yarn --immutable
- name: Lint
Expand Down Expand Up @@ -101,6 +102,7 @@ jobs:
matrix:
automation: [ playwright, puppeteer ]
steps:
- run: corepack enable
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
Expand All @@ -110,7 +112,7 @@ jobs:
with:
path: ${{env.METAMASK_CACHE_PATH}}
key: metamask-extension
- run: corepack enable

- name: Install
run: yarn --immutable
- name: Tests UserData
Expand All @@ -132,14 +134,15 @@ jobs:
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}

- run: corepack enable

- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: "20"
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}

- run: corepack enable
- run: yarn --immutable
if: ${{ steps.release.outputs.release_created }}

Expand Down

0 comments on commit 87243e9

Please sign in to comment.