From d4930cd2dab1a2da90ea2ac2f91634aca6dc0430 Mon Sep 17 00:00:00 2001 From: Zack Schuster Date: Thu, 3 Sep 2020 22:14:18 -0700 Subject: [PATCH] github/workflows: add lint task --- .github/workflows/lint.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..ed1f517 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,28 @@ +on: push + +jobs: + test: + name: lint + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + node-version: [^10, ^12, ^14] + os: [ubuntu-latest, windows-latest, macos-latest] + + steps: + - name: checkout + uses: actions/checkout@v1 + with: + fetch-depth: 0 + + - name: node + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - name: install + run: yarn install + + - name: lint + run: yarn lint