Skip to content

Commit

Permalink
mf
Browse files Browse the repository at this point in the history
mam10eks committed Nov 25, 2024
1 parent 025fde2 commit 4ef66f1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Unit Tests

on: [push]

jobs:
frontend-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
working-directory: ${{github.workspace}}/frontend
run: yarn --frozen-lockfile
- name: compile client
working-directory: ${{github.workspace}}/frontend
run: yarn build
- name: package code
working-directory: ${{github.workspace}}/frontend/static
run: zip -r ../../frontend-build.zip .
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: frontend-build.zip

0 comments on commit 4ef66f1

Please sign in to comment.