From 48b95ed64c263a3c354992db98349ce2fbe84a73 Mon Sep 17 00:00:00 2001 From: Quramy Date: Tue, 26 Mar 2024 19:06:46 +0900 Subject: [PATCH] feat: Drop old Node.js --- .github/workflows/integrated_test.yml | 3 ++- packages/storycap/package.json | 2 +- packages/storycrawler/package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integrated_test.yml b/.github/workflows/integrated_test.yml index 0a735f59e..fd0b8f186 100644 --- a/.github/workflows/integrated_test.yml +++ b/.github/workflows/integrated_test.yml @@ -13,6 +13,7 @@ jobs: strategy: matrix: + node-version: [18.x] example_dir: - examples/v7-managed-react - examples/v7-simple-react @@ -26,7 +27,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version || '18.x' }} + node-version: ${{ matrix.node-version }} cache: 'yarn' - run: yarn install --frozen-lockfile - run: yarn bootstrap diff --git a/packages/storycap/package.json b/packages/storycap/package.json index 7c472e452..5925d503f 100644 --- a/packages/storycap/package.json +++ b/packages/storycap/package.json @@ -3,7 +3,7 @@ "version": "4.3.1", "description": "A Storybook addon, Save the screenshot image of your stories! via puppeteer.", "engines": { - "node": ">=14.13" + "node": ">=18" }, "main": "lib/index.js", "module": "lib-esm/index.js", diff --git a/packages/storycrawler/package.json b/packages/storycrawler/package.json index 388b063f4..83f0ff679 100644 --- a/packages/storycrawler/package.json +++ b/packages/storycrawler/package.json @@ -3,7 +3,7 @@ "version": "4.3.1", "description": "Utilities to build Storybook crawling tools with Puppeteer", "engines": { - "node": ">=14.13" + "node": ">=18" }, "main": "lib/index.js", "typings": "lib/index.d.ts",