Skip to content

Setup nestjs & add horaire and planification services #7

Setup nestjs & add horaire and planification services

Setup nestjs & add horaire and planification services #7

Workflow file for this run

name: ci
on:
pull_request:
branches: ['*']
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout to code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: lint
run: npm run lint
- name: Run tests
run: npm test
- name: Build
run: npm run build
# - name: SonarCloud Scan
# uses: sonarsource/sonarcloud-github-action@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}