diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..6317b95 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,30 @@ +name: lint +on: + push: + branches: + pull_request: + +jobs: + lint: + name: lint + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v7 + + - uses: actions/setup-node@v6 + with: + node-version: 24 + + - name: Install latest npm + run: npm install -g npm + + - name: npm version + run: npm --version + + - name: Install dependencies + run: npm clean-install + + - name: lint + run: npm run lint