Skip to content

Merge pull request #138 from prona-p4-learning-platform/additional-te… #343

Merge pull request #138 from prona-p4-learning-platform/additional-te…

Merge pull request #138 from prona-p4-learning-platform/additional-te… #343

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
backend:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '18' ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: cd backend && npm install
- run: cd backend && npm test
- run: cd backend && npm run lint
- run: cd backend && npm run compile
env:
CI: true
frontend:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '18' ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: cd frontend && npm install
- run: cd frontend && npm run build
env:
CI: true