Skip to content

Build/release

Build/release #49

Workflow file for this run

name: Build/release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
run: 'npm install'
- name: Build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: 'npm run publish'