From c87adafae679e7221ed7bf02f9021b9a255ef5f4 Mon Sep 17 00:00:00 2001 From: Nick Oliver Date: Sat, 30 Nov 2019 14:32:59 -0700 Subject: [PATCH] chore(actions): create linting Initial GitHub Actions attempt --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..78ebc27 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +name: linting + +on: [push] + +jobs: + checkout: + name: Checkout + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + install: + name: Install dependencies + runs-on: ubuntu-latest + needs: [checkout] + steps: + - env: + NODE_ENV: development + run: npm install + lint: + name: Linting + runs-on: ubuntu-latest + needs: [install] + steps: + - run: npm run lint