Skip to content

Commit

Permalink
adds mocha tests and bump engine
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelbr committed Sep 10, 2024
1 parent 2e16ff3 commit cde0de1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18

- name: Install dependencies
run: npm install

- name: Run tests
run: npm test
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@
"vinyl": "^3.0.0"
},
"engines": {
"node": ">=0.8.0",
"npm": ">=1.2.10"
"node": ">=18.0.0"
},
"license": "MIT"
}

0 comments on commit cde0de1

Please sign in to comment.