Skip to content

Commit f66fa68

Browse files
committed
chore: wip pkg new 1
1 parent 2ca73ec commit f66fa68

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

.github/workflows/pr-pkg-pr-new.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,20 @@ jobs:
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

0 commit comments

Comments
 (0)