#487 12 main section html #509
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: CI workflow | |
on: pull_request | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# Temporary workaround | |
# See this bug on Vite + Rollup node v 20 | |
# https://github.com/vitejs/vite/issues/15492 | |
- name: Use Node.js 18.13.0 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18.13.0' | |
cache: 'npm' | |
- name: Install front | |
run: npm install | |
- name: Build | |
run: npm run tsc-check | |
- name: Tests front | |
run: npm test |