-
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 867 Bytes
/
web.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
name: Web
on:
push:
paths:
- '.github/workflows/web.yml'
pull_request:
paths:
- 'src/certbox/**'
- 'src/web/**'
- 'src/frontend/**'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #pin v4.2.2
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 #pin v5.3.0
with:
go-version: "stable"
cache-dependency-path: src/certbox/go.sum
- name: Build certgen
run: ./wasm.sh
working-directory: src/certbox/cmd/certgen
- name: Build app
run: |
npm --prefer-offline ci
npx webpack --config webpack.js --mode production
working-directory: src/web