Merge pull request #1557 from guardian/update/non_aws #1550
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches-ignore: | |
- dependency-updates | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
aws-region: eu-west-1 | |
- uses: actions/setup-node@v4 # This is required by cdk | |
with: | |
cache: 'yarn' | |
cache-dependency-path: 'cdk/yarn.lock' | |
node-version-file: '.nvmrc' | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'corretto' | |
cache: 'sbt' | |
- name: CI | |
run: | | |
LAST_TEAMCITY_BUILD=3006 | |
export GITHUB_RUN_NUMBER=$(( $GITHUB_RUN_NUMBER + $LAST_TEAMCITY_BUILD )) | |
./script/ci |