Skip to content

Build and test

Build and test #85

Workflow file for this run

on:
push:
run-name: Build and test
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Server dependencies
run: pnpm i
working-directory: ./Server
- name: Web dependencies
run: pnpm i
working-directory: ./Web
- name: Build
run: pnpm buildRelease
working-directory: ./Server
env:
SKIP_ZIP: 1
- name: Test
run: pnpm test -- --run
working-directory: ./Server
- name: Artifact
uses: actions/upload-artifact@v3
with:
name: BurgerPanel
path: Server/_build/