This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
feat: Command line interface for setting up eslint/eslit configs #24
Workflow file for this run
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: 🧪 Code checking | |
on: | |
push: | |
branches: | |
- dev | |
- main | |
- changeset-release/main | |
pull_request: | |
branches: | |
- dev | |
- main | |
- changeset-release/main | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
linting: | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Setup environment | |
uses: ./.github/actions/pnpm-setup | |
- name: Run ESLint | |
run: pnpm run lint | |
vitest: | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Setup environment | |
uses: ./.github/actions/pnpm-setup | |
- name: Run Vitests | |
run: pnpm run test |