Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use node 20 #227

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use node.js 16.x
- name: Use node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: NPM Install
run: npm ci
- name: Check Format
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
- name: Use node.js 16.x
- name: Use node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: NPM Install
run: npm ci
- name: Check Format
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inputs:
required: false
default: false
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'cloud'
Expand Down
32 changes: 16 additions & 16 deletions test/codebuild.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ describe('getCodeBuildsFromActions', () => {
{
name: 'nothing matches',
actionTypeId: {
category: 'SomeCategory',
category: 'Source',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -17,7 +17,7 @@ describe('getCodeBuildsFromActions', () => {
actionTypeId: {
category: 'Build',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -26,7 +26,7 @@ describe('getCodeBuildsFromActions', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
configuration: {
Expand All @@ -38,7 +38,7 @@ describe('getCodeBuildsFromActions', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -57,9 +57,9 @@ describe('getCodeBuildsFromStages', () => {
{
name: 'nothing matches',
actionTypeId: {
category: 'SomeCategory',
category: 'Source',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -68,7 +68,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -77,7 +77,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
configuration: {
Expand All @@ -89,7 +89,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -103,7 +103,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
configuration: {
Expand All @@ -113,9 +113,9 @@ describe('getCodeBuildsFromStages', () => {
{
name: 'nothing matches',
actionTypeId: {
category: 'SomeCategory',
category: 'Source',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -124,7 +124,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'SomeProvider',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand All @@ -133,7 +133,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
configuration: {
Expand All @@ -145,7 +145,7 @@ describe('getCodeBuildsFromStages', () => {
actionTypeId: {
category: 'Build',
provider: 'CodeBuild',
owner: 'SomeOwner',
owner: 'AWS',
version: '1.0',
},
},
Expand Down