You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -263,6 +263,8 @@ And finally let's modify our `jsrepo-build-config.json` file to use the version
263
263
264
264
Finally let's create a workflow so that we can publish a new version of our registry whenever there are changesets.
265
265
266
+
> If you are publishing from a workflow make sure to create a token [here](https://jsrepo.com/account/access-tokens/new) and add it with the name `JSREPO_TOKEN` under `Settings / Secrets and variables / Actions`
267
+
266
268
`.github/workflows/publish.yml`
267
269
```yaml
268
270
name: Publish
@@ -296,7 +298,7 @@ jobs:
296
298
with:
297
299
commit: "chore(release): version package"
298
300
title: "chore(release): version package"
299
-
publish: pnpm ci:release
301
+
publish: pnpm release:registry
300
302
env:
301
303
JSREPO_TOKEN: ${{ secrets.JSREPO_TOKEN }} # !! DON'T FORGET THIS !!
0 commit comments