Files
zkldi_Tachi/.github/workflows/common.yml
T
Albert Shinandzkldi a09291265c feat: add myt chunithm support (#1082)
* feat: add myt chunithm support

* fix: check linting when merging

* fix: run linter

* fix: my ide is very broken and likes to delete code at random

* fix: linting isn't being called correctly *anywhere*...

* fix: eslint ignore .d.ts

* fix: lint common

* fix: well whatever i guess literally nothing ever fucking works in js tools

---------

Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
2024-05-17 21:43:29 +01:00

44 lines
794 B
YAML

name: Common CI/CD
on:
push:
branches:
- "main"
paths:
- "common/**"
pull_request:
branches:
- "main"
paths:
- "common/**"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8.15.6
- uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm --filter tachi-common... --filter . install
- name: Run Linter
run: pnpm --filter tachi-common lint
env:
NODE_ENV: "test"
- name: Run Tests
run: pnpm --filter tachi-common test
env:
NODE_ENV: "test"