File tree Expand file tree Collapse file tree 3 files changed +7
-27
lines changed
Expand file tree Collapse file tree 3 files changed +7
-27
lines changed Original file line number Diff line number Diff line change 2525 - name : Checkout
2626 uses : actions/checkout@v4
2727 with :
28- fetch-depth : ' 0'
29- - name : Setup pnpm
30- uses : pnpm/action-setup@v4
31- - name : Setup Node
32- uses : actions/setup-node@v4
33- with :
34- node-version-file : .nvmrc
35- cache : pnpm
36- - name : Install dependencies
37- run : pnpm install --frozen-lockfile --prefer-offline
28+ fetch-depth : 0
29+ - name : Setup Tools
30+ uses : tanstack/config/.github/setup@main
3831 - name : Run Tests
3932 run : pnpm run test:ci
4033 - name : Publish
4437 npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
4538 pnpm run cipublish
4639 env :
47- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
4840 GH_TOKEN : ${{ secrets.GH_TOKEN }}
4941 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
50- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
5142 TAG : ${{ inputs.tag }}
Original file line number Diff line number Diff line change @@ -23,18 +23,11 @@ jobs:
2323 uses : actions/checkout@v4
2424 with :
2525 fetch-depth : 0
26- - name : Setup pnpm
27- uses : pnpm/action-setup@v4
28- - name : Setup Node
29- uses : actions/setup-node@v4
30- with :
31- node-version-file : .nvmrc
32- cache : pnpm
33- - name : Install dependencies
34- run : pnpm install --frozen-lockfile --prefer-offline
26+ - name : Setup Tools
27+ uses : tanstack/config/.github/setup@main
3528 - name : Get base and head commits for `nx affected`
36- uses : nrwl/nx-set-shas@v3
29+ uses : nrwl/nx-set-shas@v4
3730 with :
38- main-branch-name : ' main'
31+ main-branch-name : main
3932 - name : Run Checks
4033 run : pnpm run test:pr
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments