feat: update to Node 20

This commit is contained in:
James Ives 2023-11-27 22:03:37 -05:00
parent 1c34508fa2
commit 7879c16b18
6 changed files with 9 additions and 9 deletions

View File

@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 'v16.13.2'
node-version: 'v20.10.0'
registry-url: 'https://registry.npmjs.org'
- name: Install Yarn
@ -44,7 +44,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 'v16.13.2'
node-version: 'v20.10.0'
registry-url: 'https://registry.npmjs.org'
- name: Install Yarn
@ -84,7 +84,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 'v16.13.2'
node-version: 'v20.10.0'
registry-url: 'https://registry.npmjs.org'
- name: Download artifact

View File

@ -175,7 +175,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 'v16.13.2'
node-version: 'v20.10.0'
- name: Checkout
uses: actions/checkout@v4

View File

@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 'v16.13.2'
node-version: 'v20.10.0'
registry-url: 'https://registry.npmjs.org'
- name: Install Yarn

View File

@ -17,7 +17,7 @@ jobs:
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: 'v16.13.2'
node-version: 'v20.10.0'
registry-url: 'https://registry.npmjs.org'
scope: '@jamesives'
@ -43,7 +43,7 @@ jobs:
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v4
with:
node-version: 'v16.13.2'
node-version: 'v20.10.0'
registry-url: 'https://npm.pkg.github.com'
scope: '@jamesives'

2
.nvmrc
View File

@ -1 +1 @@
v18.16.1
v20.10.0

View File

@ -2,7 +2,7 @@ name: 'Deploy to GitHub Pages'
description: 'This action will handle the deployment process of your project to GitHub Pages.'
author: 'James Ives <iam@jamesiv.es>'
runs:
using: 'node16'
using: 'node20'
main: 'lib/main.js'
branding:
icon: 'git-commit'