aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pull.yml
blob: e299cc94e35d0078dee22178ff6128f85e2a1d4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Check people

on:
    pull_request:
        branches:
            - main
    workflow_dispatch:

jobs:
    build:
        runs-on: ubuntu-latest

        strategy:
            matrix:
                node: [ 16.x ]

        steps:
            -   name: Checkout
                uses: actions/checkout@v2
                # with:
                #     ref: ${{ github.head_ref }}
                #     fetch-depth: 0
            -   name: Install modules with Node ${{ matrix.node }}
                uses: actions/setup-node@v1
                with:
                    node-version: ${{ matrix.node }}
            -   name: Install packages
                run: yarn install
            -   name: Check people
                run: node bin/checkPeople.js ${{ github.actor }}
            # -   name: Prettify people
            #     uses: creyD/prettier_action@v4.2
            #     with:
            #         same_commit: true
            #         prettier_options: --use-tabs --write people.json