Archived
2
0
This repository has been archived on 2024-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
neko-custom/.github/workflows/build.yml

32 lines
623 B
YAML
Raw Normal View History

2020-04-19 13:29:57 +12:00
name: build
2020-04-19 13:12:49 +12:00
on:
pull_request:
branches: [ master ]
2020-04-19 13:29:57 +12:00
paths:
- 'client/**'
- 'server/**'
2020-04-19 13:12:49 +12:00
jobs:
build:
name: Build
runs-on: ubuntu-latest
container: nurdism/neko:dev
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Fetch unshallow
run: git fetch --prune --tags --unshallow
- name: Get go dependencies and build server
working-directory: server
run: |
go get -v -t -d .
./build
- name: Get npm dependencies and build Client
working-directory: client
run: |
npm install
npm run build