Skip to content

workflows: test

workflows: test #1

Workflow file for this run

name: Test
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Upload Vitest coverage
uses: actions/upload-artifact@v2
if: success()
with:
name: coverage
path: ./coverage/