Skip to content

Rename build action to release action #24

Rename build action to release action

Rename build action to release action #24

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Publish to GitHub Releases
run: npm run publish -- --prerelease
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}