Skip to content

Update workflows

Update workflows #57

Workflow file for this run

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