Workflow file for this run
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
name: Create new Github Release | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
tag-release: | |
name: "New Release from version Tag" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install nodejs 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: npm install | |
- name: Build package | |
run: npm run build | |
- name: Create tarball | |
run: npm pack | |
- name: Create release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "*.tgz" | |
generateReleaseNotes: true | |
token: ${{ secrets.GITHUB_TOKEN }} |