Skip to content

Commit

Permalink
chore: remove node 14 (EOL), add node 20, upgrade pnpm to 8 (#1273)
Browse files Browse the repository at this point in the history
* chore: upgrade pnpm to 8

* chore: drop node 14 support as of EOL

* chore(ci): add node 20 for NPM and site

* chore: end of support for node 14, migration to pnpm 8

---------

Co-authored-by: Anton Evzhakov <anton@evz.name>
  • Loading branch information
MrFoxPro and Anber committed Jul 9, 2023
1 parent 05ad266 commit af5bb92
Show file tree
Hide file tree
Showing 6 changed files with 4,706 additions and 3,273 deletions.
29 changes: 29 additions & 0 deletions .changeset/silly-bananas-give.md
@@ -0,0 +1,29 @@
---
'@linaria/atomic': patch
'@linaria/babel-preset': patch
'@linaria/cli': patch
'@linaria/core': patch
'@linaria/esbuild': patch
'@linaria/extractor': patch
'@linaria/griffel': patch
'@linaria/babel-plugin-interop': patch
'linaria': patch
'@linaria/logger': patch
'@linaria/postcss-linaria': patch
'@linaria/react': patch
'@linaria/rollup': patch
'@linaria/server': patch
'@linaria/shaker': patch
'@linaria/stylelint': patch
'@linaria/stylelint-config-standard-linaria': patch
'@linaria/tags': patch
'@linaria/testkit': patch
'@linaria/utils': patch
'@linaria/vite': patch
'@linaria/webpack-loader': patch
'@linaria/webpack4-loader': patch
'@linaria/webpack5-loader': patch
'linaria-website': patch
---

The end of support for Node.js 14. Migration to pnpm 8.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Expand Up @@ -17,14 +17,14 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2.2.2
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: pnpm/action-setup@v2.2.2
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand All @@ -39,10 +39,10 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Setup Node.js 16.x
- name: Setup Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x

- name: Install and prepare
run: pnpm install --frozen-lockfile --strict-peer-dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/site-deploy.yml
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: pnpm/action-setup@v2.2.2
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand All @@ -33,10 +33,10 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x

- name: Install and prepare
run: pnpm install --frozen-lockfile --strict-peer-dependencies
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -82,6 +82,6 @@
},
"engines": {
"node": "^12.16.0 || >=13.7.0",
"pnpm": "^7.16.0"
"pnpm": "^8.0.0"
}
}

0 comments on commit af5bb92

Please sign in to comment.