Skip to content

chore(deps): Non-AWS dependency updates #594

chore(deps): Non-AWS dependency updates

chore(deps): Non-AWS dependency updates #594

Workflow file for this run

# Find full documentation here https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
name: CI
on:
pull_request:
workflow_dispatch:
push:
branches:
- "main"
jobs:
CI:
runs-on: ubuntu-latest
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
permissions:
contents: read
# These permissions are required by guardian/actions-riff-raff...
id-token: write # ...to exchange an OIDC JWT ID token for AWS credentials
pull-requests: write #...to comment on PRs
steps:
- uses: actions/[email protected]
# Setup Node, checking common Node config files to determine the version of Node to use.
# Configuring caching is also recommended.
# See https://github.com/guardian/actions-setup-node
- name: Setup Node
uses: actions/[email protected]
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: 'cdk/package-lock.json'
# See https://github.com/actions/setup-java
- name: Setup Java 11
uses: actions/[email protected]
with:
java-version: '11'
distribution: 'corretto'
cache: 'sbt'
- run: |
LAST_TEAMCITY_BUILD=1007
echo "BUILD_NUMBER=$(( $GITHUB_RUN_NUMBER + $LAST_TEAMCITY_BUILD ))" >> $GITHUB_ENV
# See https://github.com/github/scripts-to-rule-them-all
- name: Run script/ci
run: ./script/ci
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v4
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
buildNumber: ${{ env.BUILD_NUMBER }}
projectName: tools::amiable
configPath: cdk/cdk.out/riff-raff.yaml
contentDirectories: |
cdk.out:
- cdk/cdk.out
amiable:
- dist