Skip to content

Commit 216f7f1

Browse files
authored
build: upgrade to Yarn v4 (#81)
* build: upgrade to Yarn v4 * chmod back??
1 parent 53a270d commit 216f7f1

File tree

7 files changed

+2751
-609
lines changed

7 files changed

+2751
-609
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- name: Setup Node.js
2525
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2626
with:
27-
node-version-file: '.nvmrc'
28-
cache: 'yarn'
27+
node-version-file: ".nvmrc"
28+
cache: "yarn"
2929
- name: Install
30-
run: yarn install --frozen-lockfile
30+
run: yarn install --immutable
3131
- uses: continuousauth/action@4e8a2573eeb706f6d7300d6a9f3ca6322740b72d # v1.0.5
3232
timeout-minutes: 60
3333
with:

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
schedule:
8-
- cron: '0 22 * * 3'
8+
- cron: "0 22 * * 3"
99
workflow_call:
1010

1111
permissions:
@@ -26,8 +26,8 @@ jobs:
2626
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2727
with:
2828
node-version: "${{ matrix.node-version }}"
29-
cache: 'yarn'
29+
cache: "yarn"
3030
- name: Install
31-
run: yarn install --frozen-lockfile
31+
run: yarn install --immutable
3232
- name: Test
3333
run: yarn test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
cache
22
node_modules
3+
.yarn/install-state.gz

.yarn/releases/yarn-4.10.3.cjs

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
enableScripts: false
2+
3+
nodeLinker: node-modules
4+
5+
npmMinimalAgeGate: 10080
6+
7+
npmPreapprovedPackages:
8+
- "@electron/*"
9+
10+
yarnPath: .yarn/releases/yarn-4.10.3.cjs

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@
3636
},
3737
"devDependencies": {
3838
"vitest": "^3.0.6"
39-
}
39+
},
40+
"packageManager": "[email protected]+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f"
4041
}

yarn.lock

Lines changed: 1790 additions & 602 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)