Skip to content

chore: upgrade actions #5

chore: upgrade actions

chore: upgrade actions #5

Workflow file for this run

name: Release Workflow
on:
push:
tags:
- 'v*'
jobs:
build-and-release:
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- 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 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 }}