Skip to content

Commit

Permalink
KSTAT-182: Add tests (#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach authored May 5, 2024
1 parent 0d0a07e commit 39a65e8
Show file tree
Hide file tree
Showing 11 changed files with 824 additions and 2 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Tests

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm test
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ node_modules
build
build_directory
npm-debug.log
package-lock.json
/site
.sass-cache
Loading

0 comments on commit 39a65e8

Please sign in to comment.