Files
flood/.github/workflows/check.yml
2020-10-18 22:32:34 +08:00

29 lines
543 B
YAML

name: Check
on:
push:
branches-ignore:
- 'integration/**'
pull_request:
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [14]
check: [check-compiled-i18n, check-source-formatting, check-types, lint]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm ci --no-optional
- run: npm run ${{ matrix.check }}