Skip to content

Updated: workflow for collectstatic #20

Updated: workflow for collectstatic

Updated: workflow for collectstatic #20

Workflow file for this run

name: Build Static files for Frontend.
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
working-directory: ./frontend
run: npm install
- name: Build
working-directory: ./frontend
run: npm run production