Bump the babel group with 9 updates #2132
Workflow file for this run
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: "Build" | |
on: | |
push: | |
permissions: | |
id-token: write | |
contents: read | |
pull-requests: write # Required for riff-raff action | |
# This allows a subsequently queued workflow run to interrupt previous runs | |
concurrency: | |
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
node-version-file: .nvmrc | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: corretto | |
cache: sbt | |
java-version: 11 | |
- run: make reinstall | |
- name: assets test | |
run: ./tools/task-runner/runner validate test | |
- name: assets compile | |
run: ./tools/task-runner/runner compile | |
env: | |
NODE_ENV: production | |
- name: Test, compile | |
# Australia/Sydney -because it is too easy for devs to forget about timezones | |
run: | | |
java \ | |
-Xmx6144M \ | |
-XX:ReservedCodeCacheSize=128m \ | |
-Dsbt.log.noformat=true \ | |
-XX:+UseParallelGC \ | |
-DAPP_SECRET="fake_secret" \ | |
-Duser.timezone=Australia/Sydney \ | |
-jar ./bin/sbt-launch.jar clean compile assets scalafmtCheckAll test Universal/packageBin | |
- uses: guardian/actions-riff-raff@v4 | |
with: | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
projectName: dotcom:frontend-all | |
configPath: riff-raff.yaml | |
contentDirectories: | | |
frontend-static: | |
- static/hash | |
admin: | |
- admin/target/universal/admin.zip | |
applications: | |
- applications/target/universal/applications.zip | |
archive: | |
- archive/target/universal/archive.zip | |
article: | |
- article/target/universal/article.zip | |
commercial: | |
- commercial/target/universal/commercial.zip | |
discussion: | |
- discussion/target/universal/discussion.zip | |
facia: | |
- facia/target/universal/facia.zip | |
facia-press: | |
- facia-press/target/universal/facia-press.zip | |
identity: | |
- identity/target/universal/identity.zip | |
onward: | |
- onward/target/universal/onward.zip | |
preview: | |
- preview/target/universal/preview.zip | |
rss: | |
- rss/target/universal/rss.zip | |
sport: | |
- sport/target/universal/sport.zip |