ci: add optionsWithDefault testing #39
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: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
ci: | |
name: Code Problem Check | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js and pnpm | |
uses: ./.github/composite/setup | |
- name: Run ESLint | |
run: pnpm run lint | |
- name: Run Prettier | |
run: pnpm run format:ci | |
- name: Run Vitest | |
run: pnpm run test |