Skip to content

fix: rebuild script

fix: rebuild script #4

Workflow file for this run

name: Release Workflow
on:
push:
tags:
- 'v*'
jobs:
build-and-release:
runs-on: ubuntu-latest
environment: Release
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 20
- name: Install dependencies
run: yarn install
- name: Build library
run: yarn build
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build binaries
run: yarn package
- name: Release with binaries
uses: softprops/action-gh-release@v2
with:
files: |
commands/testquality-alpine
commands/testquality-linux
commands/testquality-macos
commands/testquality-win.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}