Skip to content

Commit

Permalink
CI yarn install fix (#254)
Browse files Browse the repository at this point in the history
* try to use corepack for yarn setup

* another try

* another try

* update release-beta based on working ci workflow
  • Loading branch information
kamalkishor1991 authored Sep 30, 2024
1 parent b3d675a commit 03fb4a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Setup Latest Yarn
uses: threeal/[email protected]
with:
version: 4.4.1
cache: false
- name: Setup Yarn (v2 or later using Corepack)
run: |
corepack enable
corepack prepare [email protected] --activate
- uses: actions/checkout@v2
- name: Install npm dependencies
run: |
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Setup Latest Yarn
uses: threeal/[email protected]
with:
version: 4.4.1
cache: false
- name: Setup Yarn (v2 or later using Corepack)
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit 03fb4a5

Please sign in to comment.