-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (37 loc) · 1.02 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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/