Skip to content

Refine the dockerfile and bootstrap. #1291

Refine the dockerfile and bootstrap.

Refine the dockerfile and bootstrap. #1291

Workflow file for this run

name: Test for commits
on:
push:
branches: [main]
jobs:
test:
name: Test for commits
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
# See https://github.com/actions/setup-node
- name: Setup the npm node
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'npm'
cache-dependency-path: |
platform/ui/package-lock.json
# See https://github.com/actions/setup-go
- name: Setup the Go
uses: actions/setup-go@v3
with:
go-version: '>=1.16.0'
- name: Install and build
run: |
make build
- name: Test by jest
run: |
make test