File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 2222 registry-url : ' https://registry.npmjs.org'
2323 cache : ' npm'
2424
25+ - name : Update package.json version from release tag
26+ uses :
cssnr/[email protected] # Use the latest version of the action 27+ with :
28+ # Optional: Specify the file containing the version (defaults to package.json)
29+ # file: 'path/to/your/package.json'
30+
31+ # Optional: Specify the field to update (defaults to 'version')
32+ # field: 'myCustomVersionField'
33+
34+ # Optional: Commit the changes back to the repository (defaults to true)
35+ commit : false
36+
37+ # Optional: Push the changes back to the repository (defaults to true)
38+ push : false
39+
2540 # Ensure npm 11.5.1 or later is installed
2641 - name : Update npm
2742 run : npm install -g npm@latest
You can’t perform that action at this time.
0 commit comments