Skip to content
name: Build and Release
on:
push:
tags:
- 'v*.*.*' # reacts to new releases following the 'v' naming convention / prefix
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Build and publish
run: npm run release # releases on newer tag in package.json, which (at least) should align with git tag version!
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}