You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use this GitHub action to check whether your npm package version has been updated: this can be extremely helpful if you want to automate your release process.
@@ -20,7 +23,6 @@ You have to set up a step like this in your workflow (this assumes you've alread
20
23
uses: EndBug/version-check@v1 # You can choose the version/branch you prefer.
21
24
22
25
with: # All these parameters are optional, check their descriptions to see if you need them.
23
-
24
26
# Whether to search in every commit's diff.
25
27
# This is useful if you often do change the version without saying it in the commit message. If you always include the semver of the new version in your commit message when you bump versions then you can omit this.
26
28
# Default: false
@@ -98,6 +100,7 @@ You can also find a more in-depth guide in this [here](doc/auto-publish-walkthro
98
100
### Static-checking with your latest version on NPM
99
101
100
102
If you want to check whether the version has changed since your last published version on NPM, you can do it using `file-url` and `static-checking`:
103
+
101
104
- `file-url`: you need to use something like a raw.githubusercontent.com or unpkg.com URL, an API that will give you a JSON response with your package file.
102
105
- `static-checking`: you're expecting your last published version to be older than the one in your repo, so we'll use `localIsNew`
103
106
@@ -111,10 +114,6 @@ If you want to check whether the version has changed since your last published v
111
114
112
115
This step will have a `true` `changed` output every time our version is newer (there won't be any `commit` output).
113
116
114
-
## Contributing
115
-
116
-
If you want to contribute to the action, even by just raising a problem or proposing an idea, you can click [here](CONTRIBUTING.md) to find out how to do it ;)
117
-
118
117
## Contributors ✨
119
118
120
119
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
0 commit comments