Skip to content

Commit

Permalink
chore: update node version
Browse files Browse the repository at this point in the history
Co-authored-by: sabato-galasso <sabatogalasso90@gmail.com>
Co-authored-by: Andrea Stagi <stagi.andrea@gmail.com>
  • Loading branch information
3 people authored Aug 1, 2024
1 parent 9068c5c commit edc581d
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-tree-shakeability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
pull-requests: write
concurrency: ci-treeshake-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Node.js with Yarn cache
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'yarn'

- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
concurrency: ci-test-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Node.js with Yarn cache
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'yarn'

- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
lint-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- run: yarn add @commitlint/cli
- run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
2 changes: 1 addition & 1 deletion .github/workflows/pc-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check publiccode.yml version and date ✅
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: git config
run: |
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
20
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"url": "git+https://github.com/italia/design-react-kit.git"
},
"engines": {
"node": ">=14"
"node": ">=20"
},
"scripts": {
"start": "NODE_OPTIONS=--max_old_space_size=16384 npm run storybook:serve",
Expand Down

0 comments on commit edc581d

Please sign in to comment.