diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..24fc309 --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,28 @@ +name: Linter for active development branches + +on: + push: + branches: + - "**" + - "!development" + - "!production" + +jobs: + # Test with eslint and prettier + linter-dev: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Use Node.js 16.x + uses: actions/setup-node@v3 + with: + node-version: "16.x" + cache: "yarn" + + - name: Install dependencies + run: yarn install + + - name: Install dependencies + run: yarn run npm-run-all lint-check:*