Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SeqSEE committed Sep 16, 2023
1 parent c83b012 commit 8bbcd4a
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 161 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/node.js.yml
Expand Up @@ -2,11 +2,10 @@ name: Lint

on:
pull_request:
branches: [ main ]
branches: [main]

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand All @@ -15,10 +14,10 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: ./node_modules/.bin/eslint -c ./.eslintrc.js src/*.js
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint --if-present

0 comments on commit 8bbcd4a

Please sign in to comment.