Skip to content

Commit

Permalink
chore: add automated lint + test
Browse files Browse the repository at this point in the history
  • Loading branch information
coolaj86 committed May 15, 2024
1 parent ff6a7dd commit aab2cb5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Node.js CI
on:
push:
branches: ['main']
pull_request:
jobs:
build:
name: 'Node.js build: fmt, ci, lint, test'
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 20.x
- latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm run fmt
- run: npm ci
- run: npm run lint
- run: npm run test

0 comments on commit aab2cb5

Please sign in to comment.