[YUNIKORN-1914] Change display for resource lists (#130) #147
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: Pre-commit Checks | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source Code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: .go_version | |
- name: Check License | |
run: make license-check | |
- name: Set Node.js Environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- run: | | |
npm install -g @angular/cli > /dev/null | |
npm install -g yarn > /dev/null | |
- name: Install Dependencies | |
run: yarn install | |
- name: Build Prod | |
run: yarn build:prod | |
- name: Test Coverage | |
run: yarn test:coverage | |
- name: Go lint | |
run: make lint | |
- name: Go unit tests | |
run: make test_go | |
- name: Code coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
files: build/coverage.txt |