Skip to content

Commit f751f9a

Browse files
committed
feat(ci): github test action
1 parent 7e31a87 commit f751f9a

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

.github/dependabot.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
groups:
8+
production-dependencies:
9+
dependency-type: "production"
10+
development-dependencies:
11+
dependency-type: "development"

.github/workflows/ci.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
uses: pkgjs/action/.github/workflows/node-test.yaml@main

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
"bin": {
2323
"create-package": "bin/create-package"
2424
},
25+
"engines": {
26+
"node": "^18 || ^20 || ^21"
27+
},
2528
"scripts": {
2629
"test": "standard && mocha --timeout=60000",
2730
"test:debug": "mocha --inspect --inspect-brk --timeout=0",

0 commit comments

Comments
 (0)