Skip to content

Commit

Permalink
chore: Pin NPM version (testing-library#1262)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
eps1lon authored Sep 17, 2023
1 parent 336152b commit 07f5999
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"installCommand": "install:csb",
"sandboxes": ["github/kentcdodds/react-testing-library-examples"],
"node": "14"
"node": "18"
}
8 changes: 8 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
with:
Expand Down Expand Up @@ -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 [email protected]

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
with:
Expand Down

0 comments on commit 07f5999

Please sign in to comment.