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 d420e6e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/monorepo-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@ 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:
- uses: actions/checkout@v2

- 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
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,18 @@ 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
- uses: browser-actions/setup-chrome@latest
- run: chrome --version

- name: run-ci
- run: chrome --version
- run: pnpm ci
- run: cd packages/fjl && pnpm publish
env:
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 d420e6e

Please sign in to comment.