Skip to content

ci: improve GitHub Actions workflow configurations #40

ci: improve GitHub Actions workflow configurations

ci: improve GitHub Actions workflow configurations #40

Workflow file for this run

# This workflow will run tests using deno and then upload the coverage reports to Codecov.
name: Run Tests
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Install pnpm
uses: actions/setup-node@v6
with:
node-version: latest
- run: npm install pnpm -g
- name: Run test cases
uses: denoland/setup-deno@v2
- run: deno install
- run: pnpm test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}