From 9f83a66a38b32b75ba9afc8d46d18d5e6ce2e66b Mon Sep 17 00:00:00 2001 From: Lucas Dohmen Date: Fri, 22 Apr 2022 13:39:49 +0200 Subject: [PATCH] Housekeeping * Update build matrix * Update release script * Update dependencies --- .github/workflows/tests.yml | 5 ++--- package.json | 9 ++++++--- release | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e40612a..6751a5e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,11 +8,10 @@ jobs: matrix: node-version: - 14.x - - 16.x - - 17.x + - 18.x steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3.1.0 + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - run: npm install-test diff --git a/package.json b/package.json index 625ec9e..6c50a75 100644 --- a/package.json +++ b/package.json @@ -13,13 +13,16 @@ "url": "https://github.com/faucet-pipeline/faucet-pipeline-express/issues" }, "main": "index.js", + "engines": { + "node": ">= 14" + }, "scripts": { "test": "eslint --cache *.js && echo ✓" }, "devDependencies": { - "eslint-config-fnd": "^1.7.0", - "express": "^4.17.1", + "eslint-config-fnd": "^1.13.0", + "express": "^4.17.3", "pug": "^3.0.2", - "release-util-fnd": "^2.0.1" + "release-util-fnd": "^3.0.0" } } diff --git a/release b/release index e274f2c..3db0f62 100755 --- a/release +++ b/release @@ -4,8 +4,8 @@ set -eu . ./node_modules/release-util-fnd/lib.sh -pre_release_checks main +pre_release_checks npm test create_package > /dev/null -publish_package origin main +publish_package