Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reuse GitHub Actions Node.js workflow
Browse files Browse the repository at this point in the history
lpsinger committed Oct 11, 2023

Verified

This commit was signed with the committer’s verified signature. The key has expired.
tagliala Geremia Taglialatela
1 parent d879706 commit 48ca103
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -8,23 +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: Run unit tests
run: npm run test
- name: Upload to Codecov.io
uses: codecov/codecov-action@v3
uses: nasa-gcn/.github/.github/workflows/node.yml@main

0 comments on commit 48ca103

Please sign in to comment.