diff --git a/.github/workflows/ci-checks.yml b/.github/workflows/ci-checks.yml index 6a065edac..807a1da3e 100644 --- a/.github/workflows/ci-checks.yml +++ b/.github/workflows/ci-checks.yml @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5ba1c3181..7bb49b457 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/action.yml b/action.yml index e7ca820ef..94595e050 100644 --- a/action.yml +++ b/action.yml @@ -13,7 +13,7 @@ inputs: required: false default: false runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' branding: icon: 'cloud' diff --git a/test/codebuild.test.ts b/test/codebuild.test.ts index 6030030fb..db709bed7 100644 --- a/test/codebuild.test.ts +++ b/test/codebuild.test.ts @@ -6,9 +6,9 @@ describe('getCodeBuildsFromActions', () => { { name: 'nothing matches', actionTypeId: { - category: 'SomeCategory', + category: 'Source', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -17,7 +17,7 @@ describe('getCodeBuildsFromActions', () => { actionTypeId: { category: 'Build', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -26,7 +26,7 @@ describe('getCodeBuildsFromActions', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, configuration: { @@ -38,7 +38,7 @@ describe('getCodeBuildsFromActions', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -57,9 +57,9 @@ describe('getCodeBuildsFromStages', () => { { name: 'nothing matches', actionTypeId: { - category: 'SomeCategory', + category: 'Source', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -68,7 +68,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -77,7 +77,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, configuration: { @@ -89,7 +89,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -103,7 +103,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, configuration: { @@ -113,9 +113,9 @@ describe('getCodeBuildsFromStages', () => { { name: 'nothing matches', actionTypeId: { - category: 'SomeCategory', + category: 'Source', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -124,7 +124,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'SomeProvider', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, }, @@ -133,7 +133,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, configuration: { @@ -145,7 +145,7 @@ describe('getCodeBuildsFromStages', () => { actionTypeId: { category: 'Build', provider: 'CodeBuild', - owner: 'SomeOwner', + owner: 'AWS', version: '1.0', }, },