test #153
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 | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "5 */8 * * *" | |
jobs: | |
test: | |
if: github.run_number != 1 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm i -g pnpm && pnpm i | |
name: Install dependencies | |
- name: Build Shared Package and Run unit tests | |
run: pnpm build --filter @repo/shared && pnpm test | |
- name: Upload coverage reports to Codecov | |
continue-on-error: true | |
uses: codecov/codecov-action@v4 | |
with: | |
directory: ./lib | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- uses: paambaati/[email protected] | |
continue-on-error: true | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
with: | |
coverageLocations: ./lib/coverage/*.xml:clover |