Skip to content

Commit 7b39e62

Browse files
authored
fix(ci): Update CI workflow and update Yarn to V4 (#357)
* fix(ci): Update CI workflow * refactor: Update Yarn to V4
1 parent 2af240c commit 7b39e62

File tree

4 files changed

+3286
-3280
lines changed

4 files changed

+3286
-3280
lines changed

.github/workflows/node_ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ on:
1111

1212
jobs:
1313
build:
14-
name: Build (Node 16)
14+
name: Build (Node 20)
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
18+
- name: Enable Corepack before setting up Node
19+
run: corepack enable
1820
- name: Setup Node.js
19-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2022
with:
21-
node-version: '16'
23+
node-version: '20'
2224
architecture: 'x64'
2325
cache: 'yarn'
2426
- name: Install dependencies

.yarnrc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: false
4+
15
nodeLinker: node-modules

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "another-pomodoro",
33
"description": "Free and open-source productivity timer, right from your browser. Built to be simple.",
44
"version": "1.5.1",
5-
"packageManager": "yarn@3.2.2",
5+
"packageManager": "yarn@4.0.2",
66
"private": true,
77
"scripts": {
88
"build": "nuxi build",

0 commit comments

Comments
 (0)