Skip to content

Commit bb64967

Browse files
authored
Migrate from Yarn PnP to node_modules and update GitHub workflows (#761)
1 parent 753c9da commit bb64967

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

.github/actions/setup-workspace/action.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,18 @@ inputs:
99
runs:
1010
using: composite
1111
steps:
12-
- name: Setup Node.js (no cache)
13-
uses: actions/setup-node@v3
12+
- name: Setup Node.js
13+
uses: actions/setup-node@v4
1414
with:
1515
node-version: 22.x
16+
cache: yarn
1617

1718
- name: Enable Corepack
1819
run: corepack enable
1920
shell: bash
2021

21-
- name: Setup Node.js (with Yarn cache)
22-
uses: actions/setup-node@v3
23-
with:
24-
node-version: 22.x
25-
cache: yarn
26-
2722
- name: Install dependencies with Yarn
28-
run: yarn install --frozen-lockfile
23+
run: yarn install --immutable
2924
shell: bash
3025

3126
- name: Build project (optional)

.github/workflows/md-link-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
markdown-link-check:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- uses: gaurav-nelson/github-action-markdown-link-check@0a51127e9955b855a9bbfa1ff5577f1d1338c9a5 # 1.0.14
1717
with:
1818
use-quiet-mode: 'yes'

.github/workflows/monthly-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out code
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414

1515
- name: Bump version and push tag
1616
id: create_tag

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ build/
1818
!.yarn/sdks
1919
!.yarn/versions
2020
.pnp.*
21-
.yarnrc.yml
2221

2322
# ------------------------
2423
# 📝 Config / Env files

.yarnrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
yarnPath: .yarn/releases/yarn-4.9.2.cjs
2+
nodeLinker: node-modules

0 commit comments

Comments
 (0)