implemented release automation #64 (#65) #4
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: Build and Release | |
on: | |
push: | |
tags: | |
- '*' # This wildcard means any tag | |
jobs: | |
build-and-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: yarn install | |
- name: Build package | |
run: yarn companion-module-build --dev | |
- name: Create Release | |
uses: /softprops/[email protected] | |
with: | |
body: 'This is a dev build of the module - use pkg.tgz with caution. In case you are no developer please wait for official releases as part of a companion release' | |
draft: true | |
prerelease: true | |
files: | | |
pkg.tgz |