Skip to content

Commit

Permalink
chore: update node to v20 and npm to v9 or newer (#1819)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgoltstein authored Oct 26, 2023
1 parent 23ac90a commit e7a4052
Show file tree
Hide file tree
Showing 10 changed files with 1,470 additions and 1,056 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/[email protected]
with:
cache: 'npm'
node-version: 16
node-version: 20
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/[email protected]
with:
cache: 'npm'
node-version: 16
node-version: 20
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
Expand All @@ -43,7 +43,7 @@ jobs:
uses: actions/[email protected]
with:
cache: 'npm'
node-version: 16
node-version: 20
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
Expand All @@ -62,7 +62,7 @@ jobs:
uses: actions/[email protected]
with:
cache: 'npm'
node-version: 16
node-version: 20
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
Expand All @@ -81,7 +81,7 @@ jobs:
uses: actions/[email protected]
with:
cache: 'npm'
node-version: 16
node-version: 20
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
Expand All @@ -100,7 +100,7 @@ jobs:
uses: actions/[email protected]
with:
cache: 'npm'
node-version: 16
node-version: 20
- name: Install latest npm
run: npm install --global npm@latest
- name: Install dependencies
Expand All @@ -124,7 +124,7 @@ jobs:
uses: actions/[email protected]
with:
cache: 'npm'
node-version: 16
node-version: 20
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14
v20
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 20
registry-url: https://npm.pkg.github.com
- # This allows private dependencies from GitHub Packages to be installed.
# Depending on the setup, it might be required to use a personal access
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ inputs:
name: 'Merge me!'
runs:
main: dist/index.js
using: node16
using: node20
Loading

0 comments on commit e7a4052

Please sign in to comment.