Skip to content

Add more tests

Add more tests #342

Workflow file for this run

name: Main CI
on: [workflow_dispatch, push]
jobs:
tests_checks_build_deploy:
runs-on: ubuntu-latest
name: Tests, checks, build
steps:
- uses: actions/checkout@v4
name: Checkout
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
name: Setup node
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run linter
run: yarn lint
- name: Run tests
run: yarn test:ci
- name: Run build
run: yarn build
- name: Deploy to gh-pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist