Clyde/.gitea/workflows/frontend.yaml
Debucquoy Anthony 512e8a41dd
Some checks are pending
Build and test backend / Build-backend (push) Waiting to run
Build and test backend / Test-backend (push) Waiting to run
deploy to production / deploy-frontend (push) Waiting to run
deploy to production / deploy-backend (push) Waiting to run
Build and test FrontEnd / Build-frontend (push) Waiting to run
removing action for frontend test
2024-03-02 20:09:02 +01:00

23 lines
499 B
YAML

name: Build and test FrontEnd
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
Build-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
working-directory: ./frontend
- run: npm ci
name: clean install
working-directory: ./frontend
- run: npm run build --if-present
name: build
working-directory: ./frontend