File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 66 runs-on : ubuntu-latest
77
88 steps :
9- - name : Checkout code
9+ - name : Checkout repository
1010 uses : actions/checkout@v4
11-
12- - run : corepack enable
13- - uses : actions/setup-node@v4
1411 with :
15- cache : ' npm'
16-
12+ fetch-depth : 0
13+ - name : Set up Node.js
14+ uses : actions/setup-node@v4
15+ with :
16+ node-version-file : .nvmrc
17+ cache : npm
18+ - name : Set base and head for Nx affected commands
19+ uses : nrwl/nx-set-shas@v4
1720 - name : Install dependencies
18- run : npm install
19-
20- - name : Build
21- run : nx run-many --target=build --all --parallel --maxParallel=3
22-
23- - run : npm dlx pkg-pr-new publish
21+ run : npm ci
22+ - name : Build affected projects
23+ run : npx nx run-many --target=build --parallel=3 --with-deps
24+ - name : Release packages
25+ run : npx pkg-pr-new publish
You can’t perform that action at this time.
0 commit comments