Skip to content

Commit

Permalink
repo - Changed node engine requirements, in package.json and gh-actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
elycruz committed Dec 30, 2023
1 parent f21862e commit aad540b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/monorepo-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -28,7 +28,8 @@ jobs:
- name: pnpm-setup
uses: pnpm/action-setup@v2
with:
version: 8.10
version: 8

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
- name: pnpm-setup
uses: pnpm/action-setup@v2
with:
version: 8.10
version: 8

- name: node-setup
- uses: actions/setup-node@v2
with:
node-version: 18
node-version: 20.x
registry-url: https://registry.npmjs.org/

- name: chrome-setup
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
20
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@
"./packages/fjl-inputfilter"
],
"engines": {
"node": ">=16 || >=18",
"npm": ">=8 || >=9"
"node": ">=16",
"npm": ">=8",
"pnpm": ">=8"
},
"mockServerPort": 10087,
"mockServerCommand": "node ./packages/fjl-validator-recaptcha/tests/mock-server.js"
Expand Down

0 comments on commit aad540b

Please sign in to comment.