Skip to content

173 implement report pulling in gcs storage class and refactor simulation server #99

173 implement report pulling in gcs storage class and refactor simulation server

173 implement report pulling in gcs storage class and refactor simulation server #99

Workflow file for this run

name: Frontend CI
on:
push:
branches:
- main
- docker-main
pull_request:
branches:
- main
- docker-main
jobs:
frontend-setup:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: |
cd frontend
npm install
- name: Lint frontend code
run: |
cd frontend
npm run lint
- name: Format frontend code with Prettier
run: |
cd frontend
npm run format
- name: Build frontend
run: |
cd frontend
npm run build
- name: Run ESLint Security Checks
run: |
cd frontend
npm audit --omit=dev --audit-level=critical || true