From f751f9aff31aa35c629f0f97faeda2df74ee51e5 Mon Sep 17 00:00:00 2001 From: Wes Todd Date: Wed, 18 Oct 2023 13:53:13 -0500 Subject: [PATCH] feat(ci): github test action --- .github/dependabot.yml | 11 +++++++++++ .github/workflows/ci.yaml | 9 +++++++++ package.json | 3 +++ 3 files changed, 23 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/ci.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9a9fd7b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: npm + directory: / + schedule: + interval: weekly + groups: + production-dependencies: + dependency-type: "production" + development-dependencies: + dependency-type: "development" \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..50c333a --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,9 @@ +on: + push: + branches: + - main + pull_request: + +jobs: + test: + uses: pkgjs/action/.github/workflows/node-test.yaml@main \ No newline at end of file diff --git a/package.json b/package.json index a95a0cb..7ce7f6e 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,9 @@ "bin": { "create-package": "bin/create-package" }, + "engines": { + "node": "^18 || ^20 || ^21" + }, "scripts": { "test": "standard && mocha --timeout=60000", "test:debug": "mocha --inspect --inspect-brk --timeout=0",