https://github.com/eonx-com/actions-node-version
Generate a new version of a NodeJS Package.
https://github.com/eonx-com/actions-node-version
Last synced: 5 months ago
JSON representation
Generate a new version of a NodeJS Package.
- Host: GitHub
- URL: https://github.com/eonx-com/actions-node-version
- Owner: eonx-com
- Created: 2020-04-09T05:44:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T08:39:16.000Z (about 6 years ago)
- Last Synced: 2024-12-27T18:25:03.504Z (over 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node Version
A GitHub Action to generate a new version of a NodeJS Package using semantic-release.
This actions is intended to be used with the semantic-release plugin for NodeJs Packages.
# Getting started
Uses the defined release method and dependencies in `package.json`.
This action will perform the following;
- `npm install`
Install all dependencies in the cloned repository.
- `yarn release`
Will use the defined release method, if semantic-release is being used, it will tag the release in GitHub with the changelog.
## Output
Output is saved to a file in the working directory, called `release_log`
## Template
```
name: Version NodeJS Package
on:
push:
branches:
- master
steps:
- name: Generate new version
uses: eonx-com/actions-node-version@v1.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```