diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index baaa5113d..aa253c177 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -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 diff --git a/.github/workflows/component-tests.yml b/.github/workflows/component-tests.yml index 92ecc24b7..e7fbe9d63 100644 --- a/.github/workflows/component-tests.yml +++ b/.github/workflows/component-tests.yml @@ -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 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index b0fea1b9b..997fd291a 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -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 diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..b6f27f135 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/DEVNOTES.md b/DEVNOTES.md index de23c8622..7b2e89d87 100644 --- a/DEVNOTES.md +++ b/DEVNOTES.md @@ -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: ``` diff --git a/package.json b/package.json index 66e09c804..d04dac0ff 100644 --- a/package.json +++ b/package.json @@ -92,5 +92,8 @@ "not dead", "not ie <= 11", "not op_mini all" - ] + ], + "engines": { + "node": ">=22.11.0" + } }