Skip to content

Commit

Permalink
ci(tests): attempt to run js tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispymm committed Sep 23, 2024
1 parent 34aab15 commit b82824f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Run JS tests
run: npm run test:js
- name: Test that sass can be compiled
run: npm run test:sass

deploy:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"start": "npm-run-all --parallel watch:*",
"test": "npm-run-all --parallel test:*",
"test:docs": "npm run build:docs",
"test:js": "jest src/**/*.spec.js",
"test:sass": "npm install sass && sass -q -I . gulp/dist-scss/all.scss >/dev/null && echo 'ok'",
"test:js": "npm install && jest src/",
"test:sass": "npm install && sass -q -I . gulp/dist-scss/all.scss >/dev/null && echo 'ok'",
"watch:11ty": "ENV='dev' eleventy --input=./docs --output=public --serve",
"watch:package": "gulp watch:dev"
},
Expand Down

0 comments on commit b82824f

Please sign in to comment.