set prod log level to info (#4) #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run unit and integration tests. | |
# | |
# Based on https://playwright.dev/docs/next/ci#github-actions. | |
name: Test | |
on: | |
push: | |
branches: main | |
pull_request: | |
draft: false | |
branches: main | |
jobs: | |
test: | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install dependencies | |
run: npm ci | |
- name: Run unit tests | |
run: npx vitest --run |