Skip to content

Fix: apply date

Fix: apply date #59

Workflow file for this run

name: Build Frontend
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
env:
working-directory: ./frontend
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: 'npm'
cache-dependency-path: ${{ env.working-directory }}/package-lock.json
- run: npm i
working-directory: ${{ env.working-directory }}
- run: echo "API_URL=https://apply.sparcs.org/api" >> .env
working-directory: ${{ env.working-directory }}
- run: npm run build
working-directory: ${{ env.working-directory }}