Skip to content

test

test #82

Workflow file for this run

name: test
on:
push:
pull_request:
schedule:
- cron: "5 */8 * * *"
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm i -g pnpm && pnpm i
name: Install dependencies
- name: Run unit tests
run: pnpm test
- name: Upload coverage reports to Codecov
continue-on-error: true
uses: codecov/codecov-action@v3
with:
directory: ./lib/r18gs
token: ${{ secrets.CODECOV_TOKEN }}
flags: r18gs
- uses: paambaati/[email protected]
continue-on-error: true
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocations: ./lib/r18gs/coverage/*.xml:clover