Merge pull request #30 from joshuajaco/maintenance #197
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: | |
branches: ["main"] | |
pull_request: | |
branches: ["**"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .tool-versions | |
cache: "pnpm" | |
- run: pnpm install | |
- run: pnpm run typecheck | |
- run: pnpm run format:check | |
- run: pnpm run lint | |
- run: pnpm run build | |
- run: pnpm run test | |
env: | |
FORCE_COLOR: 2 | |
- name: Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |