Update issue templates #1290
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |