Skip to content

Enforce the "sites" JWT claim for PACTA #338

Enforce the "sites" JWT claim for PACTA

Enforce the "sites" JWT claim for PACTA #338

Workflow file for this run

name: CI Build/Test/Lint
on: push
jobs:
backend:
runs-on: ubuntu-latest
steps:
- name: Cache Bazel
uses: actions/cache@v3
with:
path: |
~/.cache/bazel
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE') }}
restore-keys: |
${{ runner.os }}-bazel-
- uses: actions/checkout@v3
- name: Run all tests
run: bazelisk query 'tests(//... except kind(oci_*, //...))' | xargs bazelisk test
frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- run: npm ci
- run: npm run build:local
- run: npm run lint
- run: npm run typecheck