fix(page)!: rename namespaces-usage by clusters-usage #398
Workflow file for this run
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: build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
check-commits: | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- if: "(github.actor != 'dependabot[bot]') && !startsWith(github.head_ref, 'dependabot/')" | |
name: Check commits | |
uses: wagoid/commitlint-github-action@v2 | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2.1.0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '12.16.2' | |
- id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- uses: actions/cache@v1 | |
id: yarn-cache | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: install dependencies | |
run: yarn | |
- name: analyse code | |
run: yarn lint | |
- name: build | |
run: yarn build | |