Skip to content

Commit

Permalink
Testing suite (#53)
Browse files Browse the repository at this point in the history
* basics of the testing framework in place. Time to start writing tests.

* version bump

* adding testing to the CI workflow

* adding a broken test to ensure the CI workflow catches it

* fixing the broken test

* bumping node version for LTS
  • Loading branch information
shaselton-usds authored Dec 19, 2024
1 parent 31da02b commit f076ead
Show file tree
Hide file tree
Showing 5 changed files with 802 additions and 18 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "19.x"
node-version: "20.x"

- name: Cache dependencies
uses: actions/cache@v3
Expand All @@ -44,6 +44,9 @@ jobs:
- name: Check code style
run: npm run prettier

- name: Run tests
run: npm run test

deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
Expand All @@ -53,7 +56,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "19.x"
node-version: "20.x"

- name: Cache dependencies
uses: actions/cache@v3
Expand Down
Loading

0 comments on commit f076ead

Please sign in to comment.