Skip to content

Commit 83eb2c3

Browse files
committed
Publish with correct creds
1 parent b5dd8a6 commit 83eb2c3

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ jobs:
187187
uses: actions/checkout@v4
188188
with:
189189
fetch-depth: 0
190+
token: ${{ secrets.GH_PAT }}
190191

191192
- name: Use Node ${{ env.NODE_VERSION }}
192193
uses: actions/setup-node@v4
@@ -216,30 +217,30 @@ jobs:
216217
- name: Update Release Date
217218
run: yarn ci:version-update
218219

219-
# - name: Release Packages
220-
# run: yarn ci:release
221-
# env:
222-
# NODE_AUTH_TOKEN: "" # explicitly empty to avoid token fallback
223-
# NPM_CONFIG_PROVENANCE: true
220+
- name: Release Packages
221+
run: yarn ci:release
222+
env:
223+
NODE_AUTH_TOKEN: "" # explicitly empty to avoid token fallback
224+
NPM_CONFIG_PROVENANCE: true
224225

225-
# - name: Build Emulator Packages
226-
# run: |
227-
# yarn ci:version --apply
228-
# rm -rf dist/demo-cross/emulator
229-
# rm -rf dist/demo-full/emulator
230-
# rm -rf dist/demo-minimal/emulator
231-
# rm -rf dist/demo-empty/emulator
232-
# rm -rf dist/siteless/emulator
233-
# yarn build:demo-cross --type emulator
234-
# yarn build:demo-full --type emulator
235-
# yarn build:demo-minimal --type emulator
236-
# yarn build:demo-empty --type emulator
237-
# yarn build:siteless
238-
# mv dist/demo-cross/emulator/*.tgz dist/demo-cross/emulator/sample-cross-fx.tgz
239-
# mv dist/demo-full/emulator/*.tgz dist/demo-full/emulator/sample-full.tgz
240-
# mv dist/demo-minimal/emulator/*.tgz dist/demo-minimal/emulator/sample-minimal.tgz
241-
# mv dist/demo-empty/emulator/*.tgz dist/demo-empty/emulator/sample-empty.tgz
242-
# mv dist/siteless/emulator/*.tgz dist/siteless/emulator/siteless.tgz
226+
- name: Build Emulator Packages
227+
run: |
228+
yarn ci:version --apply
229+
rm -rf dist/demo-cross/emulator
230+
rm -rf dist/demo-full/emulator
231+
rm -rf dist/demo-minimal/emulator
232+
rm -rf dist/demo-empty/emulator
233+
rm -rf dist/siteless/emulator
234+
yarn build:demo-cross --type emulator
235+
yarn build:demo-full --type emulator
236+
yarn build:demo-minimal --type emulator
237+
yarn build:demo-empty --type emulator
238+
yarn build:siteless
239+
mv dist/demo-cross/emulator/*.tgz dist/demo-cross/emulator/sample-cross-fx.tgz
240+
mv dist/demo-full/emulator/*.tgz dist/demo-full/emulator/sample-full.tgz
241+
mv dist/demo-minimal/emulator/*.tgz dist/demo-minimal/emulator/sample-minimal.tgz
242+
mv dist/demo-empty/emulator/*.tgz dist/demo-empty/emulator/sample-empty.tgz
243+
mv dist/siteless/emulator/*.tgz dist/siteless/emulator/siteless.tgz
243244
244245
# - name: Release Emulator Packages
245246
# run: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"ci:docs": "yarn docgen && yarn build:docs && yarn ci:copy-docs && git checkout -- .",
4747
"ci:canary": "lerna publish $(yarn --silent ci:version)-alpha.$BUILD_BUILDID --exact --yes --force-publish --no-git-tag-version --no-push --dist-tag canary && git checkout -- .",
4848
"ci:prerelease": "lerna publish $(yarn --silent ci:version)-beta.$BUILD_BUILDID --exact --yes --force-publish --no-git-tag-version --no-push --dist-tag next && git checkout -- .",
49-
"ci:release": "lerna publish $(yarn --silent ci:version) --yes --force-publish --no-push --message '[skip ci] publish %s'"
49+
"ci:release": "lerna publish $(yarn --silent ci:version) --yes --force-publish --skip-npm --no-push --message '[skip ci] publish %s'"
5050
},
5151
"devDependencies": {
5252
"@jsenv/file-size-impact": "14.3.33",

0 commit comments

Comments
 (0)