Commit 7f81e5c
ci: change CI to publish to GitHub package registry
* Only publish package on successful builds of the experience-cs
branch.
* Configure npm to use github registry URL
* Use organisation-specific release version to avoid confusion with
versions in the canonical package and use "experience-cs" string
to distinguish it from the package version(s) used by other projects.
* Always publish using "latest" npm tag.
* Add `--access public` option to `npm publish` command, because scoped
packages only allow "restricted" access by default.
* We can use the GITHUB_TOKEN that is made available by default in a
GitHub Action as `NODE_AUTH_TOKEN`, although we need to add the
`packages: write` permission to the Action.
Co-authored-by: Chris Lowis <[email protected]>1 parent 4610e49 commit 7f81e5c
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | | - | |
49 | | - | |
| 51 | + | |
50 | 52 | | |
51 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
0 commit comments