Skip to content

Commit

Permalink
CC-25629: Updated Node.js to v18.
Browse files Browse the repository at this point in the history
  • Loading branch information
danil.moroz committed May 30, 2023
1 parent 4b97f59 commit a29ad24
Show file tree
Hide file tree
Showing 23 changed files with 1,671 additions and 1,848 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: '16'

- name: NPM cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version: '18'

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.11
18.16.0
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,9 @@
},
"use-include-path": true,
"sort-packages": true,
"github-protocols": ["https"],
"github-protocols": [
"https"
],
"process-timeout": 900,
"chromium-revision": 814168,
"allow-plugins": {
Expand Down
4 changes: 2 additions & 2 deletions deploy.aop-b2b-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ image:
- blackfire
- newrelic
node:
version: 16
npm: 8
version: 18
npm: 9

composer:
mode: --no-dev
Expand Down
4 changes: 2 additions & 2 deletions deploy.aop-demoshop-b2b.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ image:
- blackfire
- newrelic
node:
version: 16
npm: 8
version: 18
npm: 9

composer:
mode: --no-dev
Expand Down
4 changes: 2 additions & 2 deletions deploy.aws-env-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ image:
SPRYKER_YVES_HOST_AT: at.example.cloud.spryker.toys
SPRYKER_YVES_HOST_US: us.example.cloud.spryker.toys
node:
version: 16
npm: 8
version: 18
npm: 9
composer:
mode: --no-dev
autoload: --classmap-authoritative
Expand Down
4 changes: 2 additions & 2 deletions deploy.ci.acceptance.dynamic-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ image:
SPRYKER_YVES_HOST_US: yves.us.spryker.local
SPRYKER_DYNAMIC_STORE_MODE: true
node:
version: 16
npm: 8
version: 18
npm: 9

composer:
mode: "--no-dev --quiet"
Expand Down
4 changes: 2 additions & 2 deletions deploy.ci.acceptance.mariadb.dynamic-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ image:
SPRYKER_YVES_HOST_US: yves.us.spryker.local
SPRYKER_DYNAMIC_STORE_MODE: true
node:
version: 16
npm: 8
version: 18
npm: 9

composer:
mode: "--no-dev --quiet"
Expand Down
4 changes: 2 additions & 2 deletions deploy.ci.acceptance.mariadb.prefer-lowest.dynamic-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ image:
SPRYKER_YVES_HOST_US: yves.us.spryker.local
SPRYKER_DYNAMIC_STORE_MODE: true
node:
version: 16
npm: 8
version: 18
npm: 9

composer:
mode: "--no-dev --quiet"
Expand Down
4 changes: 2 additions & 2 deletions deploy.ci.acceptance.mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ image:
SPRYKER_YVES_HOST_DE: yves.de.spryker.local
SPRYKER_YVES_HOST_AT: yves.at.spryker.local
node:
version: 16
npm: 8
version: 18
npm: 9

composer:
mode: --no-dev
Expand Down
4 changes: 2 additions & 2 deletions deploy.ci.acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ image:
SPRYKER_YVES_HOST_DE: yves.de.spryker.local
SPRYKER_YVES_HOST_AT: yves.at.spryker.local
node:
version: 16
npm: 8
version: 18
npm: 9

composer:
mode: --no-dev
Expand Down
4 changes: 2 additions & 2 deletions deploy.ci.api.mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ image:
SPRYKER_YVES_HOST_DE: yves.de.spryker.local
SPRYKER_YVES_HOST_AT: yves.at.spryker.local
node:
version: 16
npm: 8
version: 18
npm: 9
composer:
mode: "--no-dev --quiet"
autoload: --classmap-authoritative
Expand Down
4 changes: 2 additions & 2 deletions deploy.ci.api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ image:
SPRYKER_YVES_HOST_DE: yves.de.spryker.local
SPRYKER_YVES_HOST_AT: yves.at.spryker.local
node:
version: 16
npm: 8
version: 18
npm: 9
composer:
mode: "--no-dev --quiet"
autoload: --classmap-authoritative
Expand Down
4 changes: 2 additions & 2 deletions deploy.ci.functional.mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ image:
SPRYKER_YVES_HOST_DE: yves.de.spryker.local
SPRYKER_YVES_HOST_AT: yves.at.spryker.local
node:
version: 16
npm: 8
version: 18
npm: 9
composer:
mode: --no-dev
autoload: --classmap-authoritative
Expand Down
4 changes: 2 additions & 2 deletions deploy.ci.functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ image:
SPRYKER_YVES_HOST_DE: yves.de.spryker.local
SPRYKER_YVES_HOST_AT: yves.at.spryker.local
node:
version: 16
npm: 8
version: 18
npm: 9
composer:
mode: --no-dev
autoload: --classmap-authoritative
Expand Down
4 changes: 2 additions & 2 deletions deploy.dev.dynamic-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ image:
"AUTH0_CLIENT_SECRET": ""
}'
node:
version: 16
npm: 8
version: 18
npm: 9

composer:
mode: ''
Expand Down
4 changes: 2 additions & 2 deletions deploy.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ image:
"AUTH0_CLIENT_SECRET": ""
}'
node:
version: 16
npm: 8
version: 18
npm: 9

composer:
mode: ''
Expand Down
4 changes: 2 additions & 2 deletions deploy.dynamic-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ image:
SPRYKER_YVES_HOST_EU: yves.eu.spryker.local
SPRYKER_YVES_HOST_US: yves.us.spryker.local
node:
version: 16
npm: 8
version: 18
npm: 9

composer:
mode: --no-dev
Expand Down
4 changes: 2 additions & 2 deletions deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ image:
SPRYKER_YVES_HOST_US: yves.us.spryker.local

node:
version: 16
npm: 8
version: 18
npm: 9

composer:
mode: --no-dev
Expand Down
7 changes: 4 additions & 3 deletions frontend/configs/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ const getConfiguration = async (appSettings) => {
{
loader: 'postcss-loader',
options: {
ident: 'postcss',
plugins: [require('autoprefixer')],
postcssOptions: {
plugins: [require('autoprefixer')],
},
},
},
{
Expand All @@ -135,7 +136,7 @@ const getConfiguration = async (appSettings) => {
},
},
{
loader: '@spryker/sass-resources-loader',
loader: 'sass-resources-loader',
options: {
resources: [sharedScss, ...styles],
},
Expand Down
Loading

0 comments on commit a29ad24

Please sign in to comment.