Skip to content

Commit

Permalink
feat: downgrade node 16 to node 14 in github workflows and package js…
Browse files Browse the repository at this point in the history
…on engine
  • Loading branch information
nilshah98 committed Oct 25, 2023
1 parent 4c3d42c commit 8f6230d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/percy/percy-storybook.git"
},
"engine": {
"node": ">=16"
"node": ">=14"
},
"files": [
"bin",
Expand Down
2 changes: 1 addition & 1 deletion packageV6.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/percy/percy-storybook.git"
},
"engine": {
"node": ">=16"
"node": ">=14"
},
"files": [
"bin",
Expand Down

0 comments on commit 8f6230d

Please sign in to comment.