Skip to content

Commit a871343

Browse files
committed
Update publish-release.yaml
1 parent f705320 commit a871343

File tree

3 files changed

+9
-8450
lines changed

3 files changed

+9
-8450
lines changed

.github/workflows/publish-release.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,17 @@ jobs:
2727
- name: Use Node.js
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: 20
30+
node-version: 24
3131
registry-url: 'https://registry.npmjs.org/'
3232

33-
- name: Authenticate with NmpJS
34-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
33+
# - name: Authenticate with NmpJS
34+
# run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
3535

36-
- name: Build package
37-
working-directory: packages/${{ inputs.package }}
38-
run: |
39-
npm install
40-
cd packages/${{ inputs.package }}
41-
npm run build
36+
- name: Install dependencies (root)
37+
run: yarn install --frozen-lockfile
38+
39+
- name: Build selected package
40+
run: yarn workspace @thenamespace/${{ inputs.package }} build
4241

4342
- name: Determine new version
4443
id: versioning

0 commit comments

Comments
 (0)