Skip to content

Commit

Permalink
Merge pull request #227 from moia-oss/use-node-20
Browse files Browse the repository at this point in the history
use node 20
  • Loading branch information
snowiow authored Jan 3, 2024
2 parents 733ad6b + 56b10a9 commit 0722cef
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
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

0 comments on commit 0722cef

Please sign in to comment.