Commit d6d3a8f
authored
chore: update release workflow and package configurations for npm publishing (#542)
# Improve Release Process and Package Configuration
This PR enhances our release workflow and package configuration:
- Updated the fixed packages list in `.changeset/config.json` to explicitly list all packages that should be versioned together
- Removed `@pgflow/demo` and `@pgflow/website` from the ignore list in changesets configuration
- Added registry URL configuration to the setup action
- Improved the release workflow by:
- Adding path ignores to prevent unnecessary releases when only docs or examples change
- Adding manual trigger capability with `workflow_dispatch`
- Removing the NPM_TOKEN environment variable (likely using GitHub's built-in token)
- Added the `--provenance` flag to npm publish commands for better security
- Excluded `example-flows` from the build and publish process
- Marked the `@pgflow/example-flows` package as private to prevent accidental publishing
These changes will make our release process more reliable and secure.1 parent 3e76f7e commit d6d3a8f
File tree
5 files changed
+20
-5
lines changed- .changeset
- .github
- actions/setup
- workflows
- pkgs/example-flows
5 files changed
+20
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
6 | 14 | | |
7 | 15 | | |
8 | 16 | | |
9 | 17 | | |
10 | | - | |
| 18 | + | |
11 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
38 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments