mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-09 14:13:06 +08:00
34 lines
837 B
YAML
34 lines
837 B
YAML
name: Common Continuous Integration tasks
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
linter:
|
|
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@feat/linter-extra-env-input
|
|
with:
|
|
linter-env: |
|
|
FILTER_REGEX_EXCLUDE=dist/**/*
|
|
VALIDATE_JSCPD=false
|
|
VALIDATE_TYPESCRIPT_STANDARD=false
|
|
VALIDATE_TYPESCRIPT_ES=false
|
|
VALIDATE_TYPESCRIPT_PRETTIER=false
|
|
VALIDATE_JAVASCRIPT_ES=false
|
|
VALIDATE_JAVASCRIPT_STANDARD=false
|
|
|
|
check-nodejs:
|
|
name: Test nodejs
|
|
needs: linter
|
|
uses: ./.github/workflows/__check-nodejs.yml
|
|
secrets: inherit
|
|
|
|
check-dist:
|
|
name: Test nodejs
|
|
needs: linter
|
|
uses: ./.github/workflows/__check-dist.yml
|
|
|
|
check-action:
|
|
name: Test action
|
|
needs: [check-nodejs, check-dist]
|
|
uses: ./.github/workflows/__check-action.yml
|