File tree 3 files changed +7
-27
lines changed
3 files changed +7
-27
lines changed Original file line number Diff line number Diff line change 25
25
- name : Checkout
26
26
uses : actions/checkout@v4
27
27
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
38
31
- name : Run Tests
39
32
run : pnpm run test:ci
40
33
- name : Publish
44
37
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
45
38
pnpm run cipublish
46
39
env :
47
- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
48
40
GH_TOKEN : ${{ secrets.GH_TOKEN }}
49
41
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
50
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
51
42
TAG : ${{ inputs.tag }}
Original file line number Diff line number Diff line change @@ -23,18 +23,11 @@ jobs:
23
23
uses : actions/checkout@v4
24
24
with :
25
25
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
35
28
- name : Get base and head commits for `nx affected`
36
- uses : nrwl/nx-set-shas@v3
29
+ uses : nrwl/nx-set-shas@v4
37
30
with :
38
- main-branch-name : ' main'
31
+ main-branch-name : main
39
32
- name : Run Checks
40
33
run : pnpm run test:pr
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments