Skip to content

Commit

Permalink
chore: add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-mitchell committed Jul 13, 2024
1 parent 500c547 commit 3f4ff36
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18, 20, 21]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
1 change: 1 addition & 0 deletions dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"index.json",
"dprint.json",
"package.json",
".github/workflows/*.yml",
"test/test.js"
],
"extends": ["./index.json"],
Expand Down

0 comments on commit 3f4ff36

Please sign in to comment.