Fix GitHub action #105
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: Developement Pipeline | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
backend_tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.16.0' | |
- name: Install backend dependencies | |
working-directory: ./server | |
run: npm ci | |
- name: Run backend prettier checks | |
working-directory: ./server | |
run: npm run format | |
frontend_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Install frontend dependencies | |
working-directory: ./web | |
run: npm ci | |
- name: Run frontend prettier checks | |
working-directory: ./web | |
run: npm run format | |