Skip to content

Commit

Permalink
feat(ci): bump node to next LTS (v22) (#2452)
Browse files Browse the repository at this point in the history
* feat(ci): update node to next LTS (v22)

* feat(ci): update to v4

* fix(ci): bump setup-nodes' node version

---------

Co-authored-by: ftoromanoff <francois.toromanoff@ign.fr>
  • Loading branch information
HoloTheDrunk and ftoromanoff authored Nov 14, 2024
1 parent f602ac7 commit 8df42d2
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
steps:

# Use specific Node.js version
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 22.x
cache: 'npm'

# Install packages
Expand Down Expand Up @@ -84,11 +84,11 @@ jobs:
steps:

# Use specific Node.js version
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 22.x
cache: 'npm'

# Install packages
Expand All @@ -114,11 +114,11 @@ jobs:
steps:

# Use specific Node.js version
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 22.x
cache: 'npm'

# Install packages
Expand Down Expand Up @@ -149,17 +149,17 @@ jobs:
contents: write
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# fetch all branches
fetch-depth: 0

# Configure git user for later command induced commits
- uses: fregante/setup-git-user@v1

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22.x
registry-url: https://registry.npmjs.org/

- run: npm ci
Expand Down Expand Up @@ -261,12 +261,12 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js 18.x
uses: actions/setup-node@v3
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 22.x

- name: Message commit
run: echo "is RELEASE => ${{ github.event.head_commit.message }} !!"
Expand Down

0 comments on commit 8df42d2

Please sign in to comment.