From c065086e539a53c8f101dce4a3eb5b9f0e3928b0 Mon Sep 17 00:00:00 2001 From: Yotam Nachum Date: Tue, 31 Jan 2023 16:13:35 +0200 Subject: [PATCH] Run the linter on each push and PR --- .github/workflows/linting.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/linting.yml diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml new file mode 100644 index 0000000..adc979e --- /dev/null +++ b/.github/workflows/linting.yml @@ -0,0 +1,12 @@ +name: linting +on: [push, pull_request] +jobs: + eslint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: npm install + - run: npm run lint