Skip to content

Create node.js.yml

Create node.js.yml #29

Workflow file for this run

name: Node.js Lint Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run linter
run: npm run linter