From 8f6230d8cb822838037cececb0703269e91d8a4d Mon Sep 17 00:00:00 2001 From: nilshah98 Date: Wed, 25 Oct 2023 22:19:17 +0530 Subject: [PATCH] feat: downgrade node 16 to node 14 in github workflows and package json engine --- .github/workflows/lint.yml | 6 +++--- .github/workflows/release.yml | 2 +- package.json | 2 +- packageV6.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 37b54302..1b6ddaa9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,12 +12,12 @@ jobs: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 14 - uses: actions/cache@v3 with: path: node_modules - key: ${{ runner.os }}/node-16/${{ hashFiles('**/yarn.lock') }} - restore-keys: ${{ runner.os }}/node-16/ + key: ${{ runner.os }}/node-14/${{ hashFiles('**/yarn.lock') }} + restore-keys: ${{ runner.os }}/node-14/ - run: yarn env: PERCY_POSTINSTALL_BROWSER: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1213ef72..1a0c05f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 14 registry-url: 'https://registry.npmjs.org' - run: yarn - run: yarn build diff --git a/package.json b/package.json index ddeaf288..4e635b0f 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/percy/percy-storybook.git" }, "engine": { - "node": ">=16" + "node": ">=14" }, "files": [ "bin", diff --git a/packageV6.json b/packageV6.json index d904083a..e2fe437f 100644 --- a/packageV6.json +++ b/packageV6.json @@ -7,7 +7,7 @@ "url": "https://github.com/percy/percy-storybook.git" }, "engine": { - "node": ">=16" + "node": ">=14" }, "files": [ "bin",