Skip to content

Commit

Permalink
Prepare for v1 (#8)
Browse files Browse the repository at this point in the history
* Upgrade NodeJS + all packages. Add lint + tsc to CI.

* Fix type warnings. Consolidate interfaces.

* Skip tests on push (only on pull_request)
  • Loading branch information
Tony Spataro authored May 31, 2023
1 parent e07f166 commit dfb3426
Show file tree
Hide file tree
Showing 9 changed files with 2,264 additions and 4,051 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,30 @@ name: Test

on:
- pull_request
- push

jobs:
lint:
name: Static

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20.x"
- run: npm ci
- run: npm run lint
- run: npm run type-check

test:
name: Functional

runs-on: ubuntu-latest

strategy:
matrix:
node-version: ["12.x", "14.x", "16.x"]
node-version: ["16.x", "18.x", "20.x"]

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.2.0
Loading

0 comments on commit dfb3426

Please sign in to comment.