Replace jest with vitest #109
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
name: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: 'yarn' | |
- run: yarn install | |
- run: yarn verify | |
- if: github.ref == 'refs/heads/main' | |
run: yarn build | |
- if: github.ref == 'refs/heads/main' | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Build |