Skip to content

Commit 39ab54c

Browse files
author
Fabiana Severin
committed
Adding codebuild to the build
1 parent f8c8ad5 commit 39ab54c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/build-and-release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ jobs:
3636
# npm run format
3737

3838
build:
39-
runs-on: ubuntu-latest
39+
runs-on:
40+
- codebuild-fabisev-nodejs-test-${{ github.run_id }}-${{ github.run_attempt }}
4041
# Removed dependency on lint job
4142
outputs:
4243
version: ${{ steps.version.outputs.version }}
@@ -88,7 +89,8 @@ jobs:
8889
retention-days: 30
8990

9091
test:
91-
runs-on: ubuntu-latest
92+
runs-on:
93+
- codebuild-fabisev-nodejs-test-${{ github.run_id }}-${{ github.run_attempt }}
9294
needs: [build]
9395
strategy:
9496
matrix:
@@ -103,7 +105,8 @@ jobs:
103105
104106
publish:
105107
if: startsWith(github.ref, 'refs/tags/')
106-
runs-on: ubuntu-latest
108+
runs-on:
109+
- codebuild-fabisev-nodejs-test-${{ github.run_id }}-${{ github.run_attempt }}
107110
needs: [build, test]
108111
permissions:
109112
contents: write
@@ -184,7 +187,8 @@ jobs:
184187

185188
test-publish:
186189
if: (github.event_name == 'workflow_dispatch' && github.event.inputs.test_mode != 'none') || github.ref == 'refs/heads/fabisev/artifact-publishing'
187-
runs-on: ubuntu-latest
190+
runs-on:
191+
- codebuild-fabisev-nodejs-test-${{ github.run_id }}-${{ github.run_attempt }}
188192
needs: [build, test]
189193
steps:
190194
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)