diff --git a/gitea/workflows/DRBv3_linting.yaml b/gitea/workflows/DRBv3_linting.yaml new file mode 100644 index 0000000..a05c72f --- /dev/null +++ b/gitea/workflows/DRBv3_linting.yaml @@ -0,0 +1,28 @@ +name: Lint JavaScript/Node.js + +on: + push: + branches: + - main + pull_request: + branches: + - "*" + +jobs: + lint-js: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '22' # Use your preferred Node.js version + + - name: Install Dependencies + run: npm install + + - name: Lint JavaScript/Node.js + run: npm run lint