🐳 Fix CI process

This commit is contained in:
Ricardo Araújo Paes
2022-08-22 08:09:30 -03:00
committed by GitHub
parent c510107bc6
commit a3d07bde20
2 changed files with 0 additions and 0 deletions

36
.github/workflows/build-frontend.yaml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: Test build frontend
on:
pull_request:
paths:
- "frontend/**"
push:
branches:
- master
paths:
- "frontend/**"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
working-directory: frontend
run: npm install
- run: CI=false npm run build
working-directory: frontend