Skip to content

Commit

Permalink
chore: set yarn berry
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Nov 25, 2024
1 parent c9fa47c commit 42306e2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
- name: Enable Corepack
run: corepack enable
- name: Install
run: yarn
- name: Lint
Expand All @@ -26,8 +28,10 @@ jobs:
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
- name: Enable Corepack
run: corepack enable
- name: Install
run: yarn
run: yarn --no-immutable
- name: Build
run: yarn build

Expand All @@ -46,8 +50,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Enable Corepack
run: corepack enable
- name: Install
run: yarn
run: yarn --no-immutable
- name: Unit Test
run: yarn test:json
- name: Report Coverage
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"type": "module",
"private": true,
"packageManager": "yarn@1.22.19",
"packageManager": "yarn@4.5.2",
"workspaces": [
"docs",
"external/*",
Expand Down

0 comments on commit 42306e2

Please sign in to comment.