This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
fix info about who can invoke the Utilize
ix (#440)
#1176
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: Lint & Test Build | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-linters: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Lint | |
run: | | |
yarn install --frozen-lockfile | |
yarn lint | |
test-build: | |
if: github.event_name != 'push' | |
name: Test Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- name: Test Build | |
run: | | |
yarn install --frozen-lockfile | |
yarn build | |