From 374d151d09b9b601d5b3ff215f9a7967388df205 Mon Sep 17 00:00:00 2001 From: Tony Coconate Date: Fri, 22 Mar 2024 13:36:09 -0500 Subject: [PATCH] build: test on node 18 --- .github/workflows/ci.yaml | 12 ++++++------ .github/workflows/release.yaml | 2 +- package-lock.json | 2 +- package.json | 9 ++------- 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5739dbfd..2f4320bf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,6 @@ on: push: - branches: [ $default-branch ] + branches: [$default-branch] pull_request: name: ci jobs: @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - node: [14, 16, 18] + node: [18, 20, 21] steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-node@v4 @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 18 - run: npm ci - run: npm run system-test system_test: @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 18 - run: npm ci - run: npm run system-test lint: @@ -47,7 +47,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 18 - run: npm ci - run: npm run lint license_check: @@ -56,6 +56,6 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 18 - run: npm ci - run: npm run license-check diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0386dbb7..dd7bc41b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 18 registry-url: 'https://wombat-dressing-room.appspot.com' - run: npm ci - run: npm publish diff --git a/package-lock.json b/package-lock.json index 2f086672..254659aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,7 +54,7 @@ "typescript": "~5.4.3" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "typescript": ">=3" diff --git a/package.json b/package.json index 05a5e452..95dbedb1 100644 --- a/package.json +++ b/package.json @@ -32,14 +32,9 @@ "fix": "eslint --fix '**/*.ts'" }, "engines": { - "node": ">=14" + "node": ">=18" }, - "keywords": [ - "typescript", - "linter", - "formatter", - "google" - ], + "keywords": ["typescript", "linter", "formatter", "google"], "author": "Google Inc.", "license": "Apache-2.0", "dependencies": {