mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-05-19 13:23:30 +02:00
Include building ui into dockerfile (#62)
* Include building ui into docker file * Specify docker.io for image * removing old dist files * update gitignore to skip dist folders * adding build to arguments as the files are no longer in repo * remove bindfs to figure out the problem later * running all instead of just specified * removed bindfs action * disabling error check for now until we move building ui assets to action * added npm install & run to pull_request yaml * build ui folder * --prefix on install deps * --prefix on install deps * re-added not checking generated files Co-authored-by: Fredrik Grönqvist <fredrik.gronqvist@embark-studios.com>
This commit is contained in:
@@ -11,6 +11,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- name: npm install dependencies
|
||||
run: npm install --prefix ui
|
||||
- name: npm run build
|
||||
run: npm run --prefix ui build
|
||||
- name: bindfs
|
||||
uses: "cedrickring/golang-action@1.4.1"
|
||||
with:
|
||||
@@ -18,7 +26,7 @@ jobs:
|
||||
- name: Check styling error
|
||||
uses: "cedrickring/golang-action@1.4.1"
|
||||
with:
|
||||
args: go get -u golang.org/x/lint/golint; golint -set_exit_status main.go server.go config.go # ./... update to use package when https://github.com/go-bindata/go-bindata/pull/37 is merged
|
||||
args: go get -u golang.org/x/lint/golint; golint -set_exit_status main.go server.go config.go
|
||||
- name: Check missing error check
|
||||
uses: "cedrickring/golang-action@1.4.1"
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user