diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 3c0af357..480f5da4 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -12,7 +12,7 @@ jobs: timeout-minutes: 5 strategy: matrix: - node-version: [14, 16, 18] # Maintenance, Active LTS & Current + node-version: [18, 20] # Maintenance, Active LTS & Current fail-fast: false services: postgres: @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 # LTS + node-version: 18 # LTS - run: npm ci --ignore-scripts - name: Verify code linting run: npx --no eslint . @@ -57,7 +57,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version: 16 # LTS + node-version: 18 # LTS - run: npm ci --ignore-scripts - name: Verify commit linting run: npx --no -p @commitlint/cli commitlint --from origin/master --to HEAD --verbose diff --git a/.npmignore b/.npmignore new file mode 100644 index 00000000..8abccda9 --- /dev/null +++ b/.npmignore @@ -0,0 +1,24 @@ +node_modules +.project +.idea +.vscode +coverage +lib-cov +*.seed +*.log +*.csv +*.dat +*.out +*.pid +*.gz + +pids +logs +results + +npm-debug.log +docs + + +test +.travis.yml diff --git a/package.json b/package.json index 730b422b..f04ab833 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "author": "IBM Corp.", "repository": "github:loopbackio/loopback-connector-postgresql", "engines": { - "node": "14 || 16 || 18" + "node": "18 || 20" }, "scripts": { "pretest": "node pretest.js",