Skip to content

Commit

Permalink
Bump up node version because node v16 will be deprecated (#49)
Browse files Browse the repository at this point in the history
* Bump up node version to 20 because node v16 will be deprecated

* Bump up setup-node version because node v16 will be deprecated

* Bump up actions/checkout v4 to maintain safety
  • Loading branch information
sho-he authored Feb 26, 2024
1 parent 7a586aa commit 9a72af4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set Node.js 16.x
uses: actions/setup-node@v2.5.1
- name: Set Node.js 20.x
uses: actions/setup-node@v4.0.1
with:
node-version: 16.x
node-version: 20.x

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: |
npm install
- run: |
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: chrnorm/deployment-action@v2
name: Create GitHub deployment
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ inputs:
description: 'Changes the API base URL for a GitHub Enterprise server.'
required: false
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'

0 comments on commit 9a72af4

Please sign in to comment.