Skip to content

Commit

Permalink
Reuse Node.js workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Oct 4, 2023
1 parent 297ac46 commit 69e92cd
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,4 @@ on:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['16', '18']
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: NPM Install
run: npm ci
- name: Run eslint linter
run: npx eslint --max-warnings 0 .
- name: Run Prettier code style checks
run: npx prettier -c .
- name: Upload to Codecov.io
uses: codecov/codecov-action@v3
uses: nasa-gcn/.github/.github/workflows/node.yml@main

0 comments on commit 69e92cd

Please sign in to comment.