Skip to content

Commit 48a6a85

Browse files
authored
Merge pull request #655 from mattgoud/update-for-node-iron-lts
chore(deps): upgrade some packages (test for node 20)
2 parents 813304d + 5f0be62 commit 48a6a85

File tree

12 files changed

+25781
-53238
lines changed

12 files changed

+25781
-53238
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup node env
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 20
2020

2121
- name: Install dependencies
2222
run: npm ci
@@ -52,7 +52,7 @@ jobs:
5252
rm webpack.config.js
5353
5454
- name: Create & Upload artifact
55-
uses: actions/upload-artifact@v1
55+
uses: actions/upload-artifact@v4
5656
with:
5757
name: ${{ github.event.repository.name }}
5858
path: ./
@@ -62,7 +62,7 @@ jobs:
6262
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'
6363
steps:
6464
- name: Download artifact
65-
uses: actions/download-artifact@v1
65+
uses: actions/download-artifact@v4
6666
with:
6767
name: ${{ github.event.repository.name }}
6868

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest]
15-
node: [16]
15+
node: [20]
1616

1717
steps:
1818
- name: Checkout

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Setup Node
1111
uses: actions/setup-node@v3
1212
with:
13-
node-version: 16
13+
node-version: 20
1414

1515
- name: Lint scss
1616
run: npm ci && npm run scss-lint
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Node
2424
uses: actions/setup-node@v3
2525
with:
26-
node-version: 16
26+
node-version: 20
2727

2828
- name: Lint js
2929
run: touch ./webpack/.env && npm ci && npm run lint

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
name: Run unit tests
77
strategy:
88
matrix:
9-
js: [ '16' ]
9+
js: [ '20' ]
1010
steps:
1111
- name: Setup Node
1212
uses: actions/setup-node@v3

.github/workflows/typecheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Setup Node
1111
uses: actions/setup-node@v3
1212
with:
13-
node-version: 16
13+
node-version: 20
1414

1515
- name: Build and check types
1616
run: touch ./webpack/.env && npm ci && npm run build

.stylelintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
],
55
"customSyntax": "postcss-scss",
66
"rules": {
7+
"selector-id-pattern": null,
78
"selector-max-id": null,
89
"selector-max-class": null,
910
"selector-max-type": null,
1011
"selector-max-compound-selectors": null,
1112
"selector-no-qualifying-type": null,
1213
"selector-max-combinators": null,
1314
"selector-class-pattern": null,
14-
"selector-descendant-combinator-no-non-space": null,
1515
"function-disallowed-list": null,
1616
"scss/dollar-variable-default": null,
1717
"property-disallowed-list": null

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This is a PrestaShop's theme we are working on. Please, if you work on this them
99

1010
## How to build assets
1111

12-
Same as the PrestaShop project, you need at least **NodeJS 16.x** and **NPM 8** in order to build the project.
12+
Same as the PrestaShop project, you need at least **NodeJS 20.x** and **NPM 8** in order to build the project.
1313

1414
First you need to install every node module:
1515

0 commit comments

Comments
 (0)