From 7879c16b183e9e4d01df2ad341ca028096570343 Mon Sep 17 00:00:00 2001 From: James Ives Date: Mon, 27 Nov 2023 22:03:37 -0500 Subject: [PATCH] feat: update to Node 20 --- .github/workflows/build.yml | 6 +++--- .github/workflows/integration.yml | 2 +- .github/workflows/production.yml | 2 +- .github/workflows/publish.yml | 4 ++-- .nvmrc | 2 +- action.yml | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0d9fcdee..6ab0e9997 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 4f88fae20..c7e94dbfb 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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 diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 73cc07544..fae02f553 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 592c588df..eda5f569b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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' diff --git a/.nvmrc b/.nvmrc index 95d62e4a0..016efd8a0 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18.16.1 \ No newline at end of file +v20.10.0 \ No newline at end of file diff --git a/action.yml b/action.yml index 5cb3af676..23348871b 100644 --- a/action.yml +++ b/action.yml @@ -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 ' runs: - using: 'node16' + using: 'node20' main: 'lib/main.js' branding: icon: 'git-commit'