-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Offer major version action ref starting at v2
- Loading branch information
Showing
1 changed file
with
2 additions
and
17 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 |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
- run: npm i | ||
- run: npm test | ||
- name: Version and publish to npm | ||
uses: bcomnes/npm-bump@v2.0.2 | ||
uses: bcomnes/npm-bump@v2 | ||
with: | ||
git_email: [email protected] | ||
git_username: ${{ github.actor }} | ||
|
@@ -128,22 +128,7 @@ Nope, you can completely override the `npm publish` command with whatever you wa | |
|
||
### Can you offer a major version tag/branch alias? I want automatic updates! | ||
|
||
Nope! This was always weird/bad pattern of github actions. Luckily github offers a solution for this. Create a `.github/dependabot.yml` with, at a minimum, the following config: | ||
|
||
```yaml | ||
# Basic dependabot.yml file with | ||
# minimum configuration for two package managers | ||
version: 2 | ||
updates: | ||
# Enable version updates for npm | ||
# Enable updates to github actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
``` | ||
Yes. npm-bump now offers a major version ref you can install with. | ||
|
||
### Why isn't npm-bump running tests anymore? | ||
|
||
|