Skip to content

chore: add workflow build #2

chore: add workflow build

chore: add workflow build #2

Workflow file for this run

name: Lint
# on: [pull_request]
on:
push:
branches:
- v1
jobs:
# typecheck:
# runs-on: ubuntu-latest
# steps:
# - uses: taiga-family/ci/actions/setup/[email protected]
# - uses: taiga-family/ci/actions/setup/[email protected]
# - uses: taiga-family/ci/actions/setup/[email protected]
# - run: npm run typecheck
# cspell:
# runs-on: ubuntu-latest
# steps:
# - uses: taiga-family/ci/actions/setup/[email protected]
# - uses: taiga-family/ci/actions/setup/[email protected]
# - uses: taiga-family/ci/actions/setup/[email protected]
# - run: npm run cspell -- --no-progress
prettier:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npm run prettier -- --write
stylelint:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npm run stylelint -- --fix
eslint:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npm run lint -- --fix
result:
needs: [prettier, eslint, stylelint]
runs-on: ubuntu-latest
name: Lint result
steps:
- run: echo "Success"
concurrency:
group: lint-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true