Skip to content

Commit

Permalink
chore: Update Node to latest v18 release for CI (#6618)
Browse files Browse the repository at this point in the history
* Bump node to latest v18

* Only run CI on query repo
  • Loading branch information
lachlancollins authored Dec 30, 2023
1 parent 4957e54 commit a8d7bd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
jobs:
test-and-publish:
name: Test & Publish
if: github.repository == 'TanStack/query'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -30,10 +31,8 @@ jobs:
version: 8
- uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org/
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
run: pnpm --filter "./packages/**" --filter query --prefer-offline install
- name: Run Tests
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.16.0
v18.19.0

0 comments on commit a8d7bd2

Please sign in to comment.