Skip to content

Commit

Permalink
ci(build-main): set main NodeJS version to 20 in workflows + set npm …
Browse files Browse the repository at this point in the history
…version to 10.x instead of 10.1.0
  • Loading branch information
SuperITMan committed Nov 6, 2024
1 parent 961552f commit 45f1c42
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ on:

env:
TZ: "Europe/Brussels"
MAIN_NODEJS: "18"
NPM_VERSION: "10.1.0"
MAIN_NODEJS: "20"
NPM_VERSION: "10.x"
LOGS_DIR: /tmp/stark/logs
LOGS_FILE: /tmp/stark/logs/build-perf.log
HUSKY: 0
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: ["18", "20"]
node_version: ["18", "20", "22"]
os: [ubuntu-latest]

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bump-angular-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
TZ: "Europe/Brussels"
NPM_VERSION: "10.1.0"
NPM_VERSION: "10.x"
LOGS_DIR: /tmp/stark/logs
LOGS_FILE: /tmp/stark/logs/build-perf.log

Expand All @@ -19,10 +19,10 @@ jobs:
UPDATED_DEPS: 0
steps:
# See: https://github.com/marketplace/actions/setup-node-js-environment
- name: Use Node.js 18
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

# See: https://github.com/marketplace/actions/cache
# See doc: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dependabot-sync-stark-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- completed
env:
TZ: "Europe/Brussels"
NPM_VERSION: "10.1.0"
NPM_VERSION: "10.x"
LOGS_DIR: /tmp/stark/logs
LOGS_FILE: /tmp/stark/logs/build-perf.log

Expand All @@ -23,10 +23,10 @@ jobs:
name: Sync deps
steps:
# See: https://github.com/marketplace/actions/setup-node-js-environment
- name: Use Node.js 18
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

# See: https://github.com/marketplace/actions/cache
# See doc: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
Expand Down

0 comments on commit 45f1c42

Please sign in to comment.