Skip to content

[#36] [Chore] UI Integration Testing - Dashboard page #203

[#36] [Chore] UI Integration Testing - Dashboard page

[#36] [Chore] UI Integration Testing - Dashboard page #203

Workflow file for this run

name: Test
on: pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Run linters and tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node and restore cached dependencies
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run codebase:lint
- name: Run unit tests and integration tests then generate code coverage reports
run: npm run test:coverage
- name: Danger
run: npx danger ci
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}