Skip to content

Commit

Permalink
[DT-1055] Pin version of NodeJS to latest LTS (#2734)
Browse files Browse the repository at this point in the history
  • Loading branch information
fboulnois authored Nov 22, 2024
1 parent 4ed3774 commit 5b283e2
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.11.0'
- name: install dependencies
run: npm ci
- name: npm audit
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/component-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
run: echo "${{ github.actor }}"
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.11.0'
- name: NPM Install
run: npm ci
- name : Cypress run component tests
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
run: echo "${{ github.actor }}"
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.11.0'
- name: NPM Install
run: npm ci
- name: Copy Configs
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
6 changes: 3 additions & 3 deletions DEVNOTES.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Local Development

1. We use [node@22.6.0](https://github.com/nvm-sh/nvm#installing-and-updating):
1. We use [node@22.11.0](https://docs.volta.sh/guide/understanding):

```
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
nvm install 22.6.0
volta install 22.11.0
```

2. Install deps:

```
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,8 @@
"not dead",
"not ie <= 11",
"not op_mini all"
]
],
"engines": {
"node": ">=22.11.0"
}
}

0 comments on commit 5b283e2

Please sign in to comment.