Build website workflow

This commit is contained in:
AbdBarho
2022-12-28 10:11:40 +01:00
parent 99bf737117
commit 7d5393b059
+24
View File
@@ -0,0 +1,24 @@
name: Build Frontend
on:
push:
branches:
- main
pull_request:
workflow_call:
jobs:
build-frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./website
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
cache-dependency-path: website/package-lock.json
- run: npm ci
- run: npm run build