feat: add new top and side nav components #8318
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: Blade Validate | |
on: [pull_request] | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }} | |
jobs: | |
validate: | |
name: Validate Source Code | |
runs-on: ubuntu-latest # nosemgrep: non-self-hosted-runner | |
steps: | |
- name: Checkout Codebase | |
uses: actions/checkout@v3 | |
- name: Use Node v18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.12.1 | |
- name: Setup Cache & Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Build Blade | |
run: yarn build | |
working-directory: packages/blade | |
- name: Lint Source Code | |
run: yarn lint | |
- name: Run TypeScript Checks | |
run: yarn typecheck | |
working-directory: packages/blade | |
test: | |
name: Run Tests (${{ matrix.shard }}) | |
runs-on: ubuntu-latest # nosemgrep: non-self-hosted-runner | |
strategy: | |
fail-fast: false | |
matrix: | |
shard: [1/4, 2/4, 3/4, 4/4] | |
steps: | |
- name: Checkout Codebase | |
uses: actions/checkout@v3 | |
- name: Use Node v18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.12.1 | |
- name: Setup Cache & Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Run Unit Tests | |
run: yarn test | |
working-directory: packages/blade | |
env: | |
SHARD: ${{ matrix.shard }} |