From e8237ed339df6b0356576b7e2dfbe2076a104f26 Mon Sep 17 00:00:00 2001 From: Adam Laki Date: Sun, 27 Mar 2022 09:17:07 +0200 Subject: [PATCH] Create test.yml --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..7b3ce6b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: Test + +on: + push: + branches: [ main ] + + workflow_dispatch: + +jobs: + lint: + name: Lint + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 'lts/*' + + - name: Install dependencies + run: npm install + + - name: Run linter + run: npm run sass-lint