Skip to content

(chore): Define github workflows #3

(chore): Define github workflows

(chore): Define github workflows #3

Workflow file for this run

name: lint
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/workflows/_setup_env.yml
- name: Lint
run: pnpm lint
tests:
needs: 'lint'
name: 'Tests'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/workflows/_setup_env.yml
- name: Run tests
run: pnpm test