Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
name: pr
name: PR

on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true

jobs:
test:
name: 'Test'
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
- name: Checkout
uses: actions/checkout@v5.0.0
with:
version: 7
run_install: false
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Get pnpm store directory
id: pnpm-cache
Expand Down
29 changes: 15 additions & 14 deletions .github/workflows/ci.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
name: ci
name: Release

on:
push:
branches: [main, alpha, beta, rc]

concurrency:
group: publish-${{ github.github.base_ref }}
cancel-in-progress: true
on: [push]

jobs:
test-and-publish:
name: 'Test & Publish'
release:
name: Release
if: github.repository_owner == 'TanStack'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v5.0.0
with:
fetch-depth: '0'
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Get pnpm store directory
id: pnpm-cache
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.20.0
v20.19.6
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"private": true,
"repository": "https://github.com/tanstack/ranger.git",
"packageManager": "pnpm@8.15.9",
"scripts": {
"clean-dist": "pnpm -rc --parallel exec 'rm -rf build dist'",
"clean-all": "pnpm -rc --parallel exec 'rm -rf build dist node_modules'",
Expand Down
Loading