Merge branch 'main' of github.com:ismail-kharrobi/PongGame-WebApp int… #257
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test build | |
on: | |
push: | |
branches: | |
- DEV-* | |
jobs: | |
Build_front: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- name: run front end build | |
working-directory: ./frontend/code | |
run: npm ci && npm run build | |
Build_backend: | |
runs-on : ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- name: run backend build | |
working-directory: ./backend/code | |
run : | | |
npm ci && npm run build | |
npm run lint |