Skip to content

Support Scala 3, drop Scala 2.12 & Play 2.8 #220

Support Scala 3, drop Scala 2.12 & Play 2.8

Support Scala 3, drop Scala 2.12 & Play 2.8 #220

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
# triggering CI default branch improves caching
# see https://docs.github.com/en/free-pro-team@latest/actions/guides/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache
push:
branches:
- main
-
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'pan-domain-node/.nvmrc'
cache: npm
cache-dependency-path: 'pan-domain-node/package-lock.json'
- name: JS Build
run: |
pushd pan-domain-node
npm ci
npm run build
npm test
popd
- uses: guardian/setup-scala@v1
- name: Build and Test
run: sbt -v clean +test
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "test-results/**/TEST-*.xml"
if: always()