diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1e47eb1d..c52fe15b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - node: [14, 16, 18, 20, 21] + node: [18, 20, 22] 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: 20 + 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: 20 + 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: 20 + 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: 20 + node-version: 18 - run: npm ci - run: npm run license-check diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 22eda9c0..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: 20 + 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 2b2d4aef..c3b40188 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,7 +55,7 @@ "typescript-eslint": "^7.13.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { "typescript": ">=3" diff --git a/package.json b/package.json index f05d4f50..2febbc31 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "fix": "eslint --fix '**/*.ts'" }, "engines": { - "node": ">=14" + "node": ">=18" }, "keywords": ["typescript", "linter", "formatter", "google"], "author": "Google Inc.", diff --git a/test/kitchen.ts b/test/kitchen.ts index e4173ea2..dd90cb96 100644 --- a/test/kitchen.ts +++ b/test/kitchen.ts @@ -18,7 +18,9 @@ const execOpts = { encoding: 'utf8' as BufferEncoding, }; -describe('🚰 kitchen sink', () => { +const action = process.platform !== 'win32' ? describe : describe.skip; + +action('🚰 kitchen sink', () => { const fixturesPath = path.join('test', 'fixtures'); const gtsPath = path.join('node_modules', '.bin', 'gts'); const kitchenPath = path.join(stagingPath, 'kitchen'); diff --git a/tsconfig-google.json b/tsconfig-google.json index 53e4a563..392fd1d4 100644 --- a/tsconfig-google.json +++ b/tsconfig-google.json @@ -11,10 +11,9 @@ "noImplicitReturns": true, "pretty": true, "sourceMap": true, + "stripInternal": true, "strict": true, "target": "es2018" }, - "exclude": [ - "node_modules" - ] + "exclude": ["node_modules"] }