Skip to content

Commit

Permalink
chore: migrate to corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Nov 21, 2024
1 parent 9322a16 commit 8a5199b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 896 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
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 --no-immutable
- name: Lint
Expand All @@ -26,6 +28,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 --no-immutable
- name: Build
Expand All @@ -37,7 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18, 20]
node-version: [20, 22]

steps:
- name: Check out
Expand All @@ -46,6 +50,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Enable Corepack
run: corepack enable
- name: Install
run: yarn --no-immutable
- name: Unit Test
Expand Down
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.0.2.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.2.cjs
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@root/http",
"private": true,
"packageManager": "[email protected]",
"type": "module",
"version": "1.0.0",
"workspaces": [
Expand Down

0 comments on commit 8a5199b

Please sign in to comment.