From 8e78daf32f01f635a3104c496814af5677f03049 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 21 Mar 2020 21:13:02 +0000 Subject: [PATCH] wip --- .github/workflows/lint.yml | 18 ++++++++++++++++++ 1 file changed, 18 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 00000000..e3f82029 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,18 @@ +name: Lint code + +on: + push: + +jobs: + lint: + steps: + - use: actions/checkout@v1 + - uses: actions/cache@v1 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - uses: actions/setup-node@v1 + - run: npm ci + - run: npm lint