Skip to content

Commit

Permalink
fix(ci): Update CI workflow and update Yarn to V4 (#357)
Browse files Browse the repository at this point in the history
* fix(ci): Update CI workflow

* refactor: Update Yarn to V4
  • Loading branch information
Hanziness committed Nov 24, 2023
1 parent 2af240c commit 7b39e62
Show file tree
Hide file tree
Showing 4 changed files with 3,286 additions and 3,280 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/node_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ on:

jobs:
build:
name: Build (Node 16)
name: Build (Node 20)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Enable Corepack before setting up Node
run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
architecture: 'x64'
cache: 'yarn'
- name: Install dependencies
Expand Down
4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "another-pomodoro",
"description": "Free and open-source productivity timer, right from your browser. Built to be simple.",
"version": "1.5.1",
"packageManager": "yarn@3.2.2",
"packageManager": "yarn@4.0.2",
"private": true,
"scripts": {
"build": "nuxi build",
Expand Down
Loading

0 comments on commit 7b39e62

Please sign in to comment.