Skip to content

Commit

Permalink
ci: Update to Node18
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrzesik committed Nov 22, 2023
1 parent ea2604e commit 206bfc7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
path: |
~/.npm
node_modules
key: npm-v14-${{ runner.os }}-refs/heads/master-${{ hashFiles('package.json') }}
key: npm-v18-${{ runner.os }}-refs/heads/master-${{ hashFiles('package.json') }}

- name: Install Node.js and npm
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x
registry-url: https://registry.npmjs.org

- name: Publish new version
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ env:
FORCE_COLOR: 1

jobs:
linuxNode14:
name: '[Linux] Node.js v14: Lint, Eventual Commitlint, Eventual Changelog, Formatting & Unit tests'
linuxNode18:
name: '[Linux] Node.js v18: Lint, Eventual Commitlint, Eventual Changelog, Formatting & Unit tests'
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -38,10 +38,10 @@ jobs:
path: |
~/.npm
node_modules
key: npm-v14-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
key: npm-v18-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
restore-keys: |
npm-v14-${{ runner.os }}-${{ github.ref }}-
npm-v14-${{ runner.os }}-refs/heads/master-
npm-v18-${{ runner.os }}-${{ github.ref }}-
npm-v18-${{ runner.os }}-refs/heads/master-
- name: Set up Python 3.7
uses: actions/setup-python@v2
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Install Node.js and npm
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x

- name: Check python version
run: |
Expand Down

0 comments on commit 206bfc7

Please sign in to comment.