Skip to content

Commit

Permalink
Offer major version action ref starting at v2
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Oct 14, 2022
1 parent a14f4d6 commit dba5316
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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?

Expand Down

0 comments on commit dba5316

Please sign in to comment.