Skip to content

Commit f4a7a54

Browse files
committed
Updated workflows and made yarn version static
1 parent 2a4f6de commit f4a7a54

File tree

3 files changed

+9
-21
lines changed

3 files changed

+9
-21
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,11 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23-
- name: Enable Corepack
24-
run: |
25-
npm install -g corepack@latest --force
26-
corepack enable
27-
28-
- name: Set up Node
29-
uses: actions/setup-node@v4
23+
- uses: jdx/mise-action@v3
3024
with:
31-
# The talk on the street says this might be a good version for building.
32-
node-version: 20.19.0
33-
cache: yarn
25+
install: true
26+
cache: true
27+
log_level: debug
3428

3529
- name: Install Yarn dependencies
3630
run: yarn install --frozen-lockfile

.github/workflows/test.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,11 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525

26-
- name: Enable Corepack
27-
run: |
28-
npm install -g corepack@latest --force
29-
corepack enable
30-
31-
- name: Set up Node
32-
uses: actions/setup-node@v4
26+
- uses: jdx/mise-action@v3
3327
with:
34-
# The talk on the street says this might be a good version for building.
35-
node-version: 20.19.0
36-
cache: yarn
28+
install: true
29+
cache: true
30+
log_level: debug
3731

3832
- name: Install Yarn dependencies
3933
run: yarn install --frozen-lockfile

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[tools]
22
node = '22'
3-
yarn = "latest"
3+
yarn = "4.11.0"

0 commit comments

Comments
 (0)