TR websites maintenance (#414) #638
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
tests: | |
name: Testing Web-Application | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ${{ github.repository }} @ ${{ github.ref }} | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Install NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install NPM Packages | |
run: npm install | |
- name: Code Inspection | |
run: npm run check | |
- name: Build Web-Application | |
run: npm run build --workspace web | |
- name: Unit & Component Tests | |
run: npm run test |