-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (39 loc) · 1.07 KB
/
pr_test.yaml
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
39
40
41
42
43
name: pr-test
on: pull_request
jobs:
backend-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.20"
- run: |
set -eux
echo "machine github.krafton.com login xtrm-cicd-bot password ${{ secrets.GHES_GITHUB_TOKEN }}" >> ~/.netrc
name: Login GHES
- name: Build Backend Single Target
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: build --clean --snapshot --single-target
workdir: backend
frontend-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: |
npm install --global pnpm
pnpm install
working-directory: electron-app
name: Init Typescript Env
- run: |
make build-frontend
working-directory: electron-app
name: Build-Frontend