Skip to content

Bunyan

Bunyan #47

Workflow file for this run

name: Frontend
on:
push:
paths:
- 'frontend/**/*'
branches:
- main
pull_request:
paths:
- 'frontend/**/*'
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm ci
working-directory: ./frontend
- run: npm run build
working-directory: ./frontend
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm i @microsoft/eslint-formatter-sarif
working-directory: ./frontend
- run: npx [email protected]
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
env:
SARIF_ESLINT_IGNORE_SUPPRESSED: "true"
working-directory: ./frontend
continue-on-error: true
- run: cat eslint-results.sarif
working-directory: ./frontend
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ./frontend/eslint-results.sarif
wait-for-processing: true