Skip to content

Commit 07f5999

Browse files
authored
chore: Pin NPM version (#1262)
* chore: Pin NPM version * fixup! chore: Pin NPM version * chore: Use current Node.js release in CodeSandbox * chore: Use highest possible Node.js version in Codesandbox
1 parent 336152b commit 07f5999

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.codesandbox/ci.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"installCommand": "install:csb",
33
"sandboxes": ["github/kentcdodds/react-testing-library-examples"],
4-
"node": "14"
4+
"node": "18"
55
}

.github/workflows/validate.yml

+8
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ jobs:
4343
with:
4444
node-version: ${{ matrix.node }}
4545

46+
# Ideally done by actions/setup-node: https://github.com/actions/setup-node/issues/213
47+
- name: Setup package manager
48+
run: npm install -g [email protected]
49+
4650
- name: 📥 Download deps
4751
uses: bahmutov/npm-install@v1
4852
with:
@@ -80,6 +84,10 @@ jobs:
8084
with:
8185
node-version: 14
8286

87+
# Ideally done by actions/setup-node: https://github.com/actions/setup-node/issues/213
88+
- name: Setup package manager
89+
run: npm install -g [email protected]
90+
8391
- name: 📥 Download deps
8492
uses: bahmutov/npm-install@v1
8593
with:

0 commit comments

Comments
 (0)