forked from ssbc/go-ssb-room
-
Notifications
You must be signed in to change notification settings - Fork 2
59 lines (46 loc) · 1.16 KB
/
go.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# SPDX-FileCopyrightText: 2021 The NGI Pointer Secure-Scuttlebutt Team of 2020/2021
#
# SPDX-License-Identifier: CC0-1.0
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node (for interop testing)
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build smoke test
run: go build ./cmd/...
- name: Build dev smoke test
run: go build -tags dev ./cmd/...
- name: install node ssb-stack
run: |
pushd muxrpc/test/nodejs
npm ci
popd
- name: All the Test
run: go test ./...
- name: update style.css
run: |
pushd web/styles
npm ci
npm run compile-prod
popd
- name: push updated style.css
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: update production style.css
file_pattern: web/assets/style.css