Skip to content

Merge pull request #25 from iocium/dependabot/npm_and_yarn/cloudflare… #60

Merge pull request #25 from iocium/dependabot/npm_and_yarn/cloudflare…

Merge pull request #25 from iocium/dependabot/npm_and_yarn/cloudflare… #60

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage
fail_ci_if_error: true