Skip to content

Commit

Permalink
KSTAT-180: Update tests for single file source
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach committed May 5, 2024
2 parents eb62435 + 39a65e8 commit 65b4045
Show file tree
Hide file tree
Showing 12 changed files with 861 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 65b4045

Please sign in to comment.