Add mod-arrowleft/right, too #176
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
static-site: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Build static assets | |
working-directory: prosemirror-client | |
run: | | |
bun install | |
bun test | |
bun run build | |
- name: Upload static assets | |
uses: actions/upload-artifact@v3 | |
with: | |
path: prosemirror-client/dist | |
- name: Deploy static assets | |
uses: guardian/actions-static-site@v2 | |
with: | |
app: cql-sandbox | |
domain: cql-sandbox.gutools.co.uk | |
guActionsRiffRaffRoleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
gu-cdk-build: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
aws-region: eu-west-1 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: '21' | |
cache: 'sbt' | |
- name: Run tests and build JAR | |
run: sbt test assembly | |
- name: Generate CDK | |
working-directory: ./cdk | |
run: | | |
npm ci | |
npm test | |
npm run synth | |
- name: Upload to Riff-Raff | |
uses: guardian/actions-riff-raff@v2 | |
with: | |
projectName: cql::cql-lambda | |
configPath: ./cdk/cdk.out/riff-raff.yaml | |
contentDirectories: | | |
cdk.out: | |
- ./cdk/cdk.out/CqlLambda-PROD.template.json | |
cql-lambda: | |
- ./target/scala-3.4.2/cql-lambda.jar |