ludo-web-multiplayer/.circleci/config.yml
2023-12-14 15:12:44 +01:00

35 lines
792 B
YAML

version: 2.1
jobs:
build_and_test:
docker:
- image: circleci/node:14
working_directory: ~/app
steps:
- checkout
- run:
name: Install Frontend Dependencies
command: |
npm install
- run:
name: Install Backend Dependencies
command: |
cd backend
npm install
- run:
name: Build Frontend
command: |
npm run build
- run:
name: Test Frontend
command: |
npm test
workflows:
version: 2
build:
jobs:
- build_and_test