diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index e650cd6f..c66df417 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -1,5 +1,5 @@ { "installCommand": "install:csb", "sandboxes": ["github/kentcdodds/react-testing-library-examples"], - "node": "14" + "node": "18" } diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 77ae2f42..66ea1b59 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -43,6 +43,10 @@ jobs: with: node-version: ${{ matrix.node }} + # Ideally done by actions/setup-node: https://github.com/actions/setup-node/issues/213 + - name: Setup package manager + run: npm install -g npm@9.2.0 + - name: 📥 Download deps uses: bahmutov/npm-install@v1 with: @@ -80,6 +84,10 @@ jobs: with: node-version: 14 + # Ideally done by actions/setup-node: https://github.com/actions/setup-node/issues/213 + - name: Setup package manager + run: npm install -g npm@9.2.0 + - name: 📥 Download deps uses: bahmutov/npm-install@v1 with: