diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..ffc955b --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,29 @@ +name: PR Lint + +on: + pull_request: + branches: + - main + - develop + - feature/* + # Add your branch name/pattern here + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '16' + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Run linter + run: npm run lint \ No newline at end of file