Skip to content

Inject Koios JWT at build time from a GH Actions secret. #7

Inject Koios JWT at build time from a GH Actions secret.

Inject Koios JWT at build time from a GH Actions secret. #7

Workflow file for this run

name: CI
on:
pull_request:
push:
branches-ignore: [main]
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
- run: npm ci
- run: npm run lint
- name: Build
run: npm run build
env:
NODE_OPTIONS: --max-old-space-size=4096
VUE_APP_KOIOS_JWT: ${{ secrets.KOIOS_JWT }}
# Once smoke tests exist (modernization task A4), add:
# - run: npx playwright install --with-deps
# - run: npm run test:e2e