Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Tests
on: push
jobs:
default:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci
- run: npm test
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Dependencies
node_modules/

# Build artifacts
dist/
build/
*.log

# OS files
.DS_Store
Thumbs.db

# IDE
.vscode/
.idea/
*.swp
*.swo

# Testing
coverage/

# Environment
.env
.env.local
51 changes: 16 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"peerDependencies": {
"adapt-authoring-core": "github:adapt-security/adapt-authoring-core"
},
"scripts": {
"test": "node --test tests/**/*.spec.js"
},
"devDependencies": {
"@semantic-release/git": "^10.0.1",
"conventional-changelog-eslint": "^6.0.0",
Expand Down
Loading