This repository has been archived on 2025-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
MarkNow/.github/workflows/checks.yml
2023-06-27 14:50:11 -03:00

44 lines
889 B
YAML

name: 🧪 Code checking
on:
push:
branches:
- dev
- main
pull_request:
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