This repository was archived by the owner on Sep 30, 2024. It is now read-only.
chore(deps): replace dependency npm-run-all with npm-run-all2 ^5.0.0 #147
This file contains hidden or 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 | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm run test | |
env: | |
CI: true | |
- name: Coverage | |
uses: codecov/codecov-action@v2 | |
- name: Build | |
run: npm run build | |
e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install | |
run: npm ci | |
- name: Setup | |
run: docker-compose up -d | |
- name: Wait for MSSQL | |
uses: jakejarvis/wait-action@master | |
with: | |
time: '10s' | |
- name: Restore | |
shell: pwsh | |
run: .\docker\restore.ps1 | |
- name: Build | |
run: | | |
npm run build | |
sudo npm link | |
- name: Test | |
run: | | |
ssc pull -c ./docker/config.json | |
npm run e2e:docker |