Remove Python from this repo and add Node test
This commit is contained in:
26
.gitea/workflows/DRBv3_node_linting.yaml
Normal file
26
.gitea/workflows/DRBv3_node_linting.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Lint JavaScript/Node.js
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
lint-js:
|
||||
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' # Use your preferred Node.js version
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Lint JavaScript/Node.js
|
||||
run: npm run lint
|
||||
@@ -1,18 +0,0 @@
|
||||
name: Lint Python
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
lint-python:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run Lint
|
||||
uses: chartboost/ruff-action@v1
|
||||
Reference in New Issue
Block a user