Skip to content

ci: run test pipeline only on main branch #4

ci: run test pipeline only on main branch

ci: run test pipeline only on main branch #4

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm test