File tree 3 files changed +9
-25
lines changed
3 files changed +9
-25
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,11 @@ jobs:
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
28
+ fetch-depth : 0
36
29
- name : Start Nx Agents
37
30
run : npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
38
- - name : Install dependencies
39
- run : pnpm install --frozen-lockfile --prefer-offline
31
+ - name : Setup Tools
32
+ uses : tanstack/config/.github/setup@main
40
33
- name : Run Tests
41
34
run : pnpm run test:ci --parallel=3
42
35
- name : Stop Nx Agents
49
42
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
50
43
pnpm run cipublish
51
44
env :
52
- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
53
45
GH_TOKEN : ${{ secrets.GH_TOKEN }}
54
46
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
55
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
56
47
TAG : ${{ inputs.tag }}
Original file line number Diff line number Diff line change @@ -23,19 +23,12 @@ 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
26
- name : Start Nx Agents
34
27
run : npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
35
- - name : Install dependencies
36
- run : pnpm install --frozen-lockfile --prefer-offline
28
+ - name : Setup Tools
29
+ uses : tanstack/config/.github/setup@main
37
30
- name : Get base and head commits for `nx affected`
38
- uses : nrwl/nx-set-shas@v3
31
+ uses : nrwl/nx-set-shas@v4
39
32
with :
40
33
main-branch-name : ' main'
41
34
- name : Run Checks
Original file line number Diff line number Diff line change 1
1
distribute-on :
2
- small-changeset : 8 linux-medium-js
3
- medium-changeset : 10 linux-medium-js
4
- large-changeset : 12 linux-medium-js
2
+ small-changeset : 3 linux-medium-js
3
+ medium-changeset : 6 linux-medium-js
4
+ large-changeset : 10 linux-medium-js
You can’t perform that action at this time.
0 commit comments