Skip to content

release build

release build #118

Workflow file for this run

name: build frontend
on:
push:
tags:
- "*"
branches:
- 'master'
jobs:
builder:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: install nodejs
uses: actions/setup-node@v4
with:
node-version: 20
- name: build FE
run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm install -g yarn
yarn
yarn build
zip -r $(git rev-parse --short HEAD).zip build/
- name: Release frontend resources
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
with:
files: "*.zip"