mirror of
https://github.com/EthanShoeDev/fressh.git
synced 2026-01-11 14:22:51 +00:00
38 lines
767 B
YAML
38 lines
767 B
YAML
name: Check
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches: [main]
|
|
push:
|
|
branches: [main]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install dependencies
|
|
uses: ./.github/actions/setup
|
|
- run: pnpm exec turbo lint:check
|
|
|
|
# test:
|
|
# name: Test
|
|
# runs-on: ubuntu-latest
|
|
# timeout-minutes: 10
|
|
# steps:
|
|
# - uses: actions/checkout@v4
|
|
# - name: Install dependencies
|
|
# uses: ./.github/actions/setup
|
|
# - run: pnpm vitest
|
|
# env:
|
|
# NODE_OPTIONS: --max_old_space_size=8192
|