chore(release): 1.0.0-alpha.102 #278
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: Test and Cover Tests | |
on: | |
push: | |
branches: [ alpha, beta, rc, main ] | |
pull_request: | |
types: [ opened, synchronize ] | |
branches: [ alpha, beta, rc, main ] | |
jobs: | |
test-all: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install the dependencies for the homepage | |
run: npm install | |
working-directory: homepage | |
- name: Install dependencies | |
run: npm install | |
- name: test types tsc:noEmit | |
run: npm run tsc:noEmit | |
- name: Run all jest tests | |
run: npm run test:all | |
- name: Codacy Coverage | |
uses: codacy/codacy-coverage-reporter-action@v1 | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
coverage-reports: ./coverage/report/lcov.info |