Skip to content

Update the tests

Update the tests #96

Workflow file for this run

name: main
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Fetch sources
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: npm
node-version: 21
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
env:
AKISMET_API_KEY: ${{secrets.AKISMET_API_KEY}}
- name: Collect code coverage
if: success()
uses: codecov/codecov-action@v3
with:
files: var/lcov.info