-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ | |
!GOVERNANCE.md | ||
!eslint.config.js | ||
|
||
!/docs/publishing.md | ||
|
||
!/features/*.yml | ||
/features/*.yml.dist | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Publishing | ||
|
||
## `@next` releases | ||
|
||
The [`publish_next_` GitHub Actions workflows](https://github.com/web-platform-dx/web-features/tree/main/.github/workflows) automatically publish pre-releases on push to the main branch using the `next` [npm dist tag](https://docs.npmjs.com/adding-dist-tags-to-packages). | ||
You can install these prereleases using a command such as `npm install web-features@next`. | ||
|
||
## Secrets | ||
|
||
> [!NOTE] | ||
> This information is for [project owners](../GOVERNANCE.md#roles-and-responsibilities). | ||
Publishing requires the `NPM_TOKEN` repository secret (set via _Settings_ → _Secrets and variables_ → _Actions_). | ||
If you're replacing this token, then use the following settings: | ||
|
||
| Setting | Value | | ||
| -------------------------------- | ---------------------------------------------------------------------------------------------------------- | | ||
| Token type | _Granular Access Token_ | | ||
| Expiration | The first day of the next quarter (1 January, 1 April, 1 July, or 1 October) or the first weekday after it | | ||
| Packages and scopes permsissions | _Read and write_ | | ||
| Select packages | _Only select packages and scopes_ | | ||
| Select packages and scopes | `compute-baseline` and `web-features` | | ||
| Organizations | _No access_ | |