Skip to content

Add OpenWRT procd service script #758

Add OpenWRT procd service script

Add OpenWRT procd service script #758

Workflow file for this run

name: Auto CI
on: [push, pull_request]
jobs:
build:
name: Auto triggered CI job
runs-on: ubuntu-latest
steps:
-
name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
-
name: Set up Go 1.22.0
uses: actions/setup-go@v5
with:
go-version: 1.22.0
id: go
-
name: Check out code into the Go module directory
uses: actions/checkout@v4
-
name: Build the frontend project
run: |
cd web
npm ci
npm run build
cd ..
go generate ./...
-
name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
-
name: Run unit tests
run: go test ./...