From 2396b3b32448856676f4b1f600d667891ae6ac6e Mon Sep 17 00:00:00 2001 From: phette23 Date: Mon, 10 Feb 2025 14:01:24 -0800 Subject: [PATCH] ci: lint workflow ref #165 --- .github/workflows/lint.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..2145e5ca --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,19 @@ +name: 'CSS & JS Lint' + +on: + push: + branches: + - 'main' + - 'dev' + +jobs: + lint: + name: 'Lint' + runs-on: 'ubuntu-latest' + environment: 'staging' + steps: + # see package.json for specific arguments passed to linters + - name: 'JavaScript Lint' + run: npm run eslint + - name: 'SCSS Lint' + run: npx run sass-lint