Skip to content

Commit

Permalink
Add Node.js CI workflow and update test script in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvNC committed Dec 22, 2023
1 parent 775c72d commit 24bd0ef
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test-readings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Node.js CI

on: [push]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: npm test
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"scripts": {
"test": "node ./src/test.js"
},
"dependencies": {
"pinyin-pro": "^3.18.5",
"yomichan-dict-builder": "^1.3.2"
Expand Down

0 comments on commit 24bd0ef

Please sign in to comment.