Skip to content

Merge pull request #2691 from serge-web/2689_Refactoring_strip_out_ma… #529

Merge pull request #2691 from serge-web/2689_Refactoring_strip_out_ma…

Merge pull request #2691 from serge-web/2689_Refactoring_strip_out_ma… #529

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Release-on-tag
on:
push:
branches:
- master
- develop
tags:
- "*"
jobs:
test:
name: Build/Test validation on release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Setup repo
uses: actions/checkout@v2
- name: Use Node.js version ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Running dependency installation
run: yarn install
- name: Running project building
run: yarn build
- name: Running unit testing
run: yarn test-unit
- name: Build executable files
run: yarn pkg-build
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: /home/runner/work/serge/serge/executable/builds/*.zip