This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Fix heading levels on Button Pattern Page #16
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: PR | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build & Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Handle Cache | |
uses: actions/cache@v2 | |
id: cache | |
with: | |
path: | | |
node_modules | |
~/.cache/yarn | |
key: node-deps-${{ hashFiles('yarn.lock') }} | |
- name: Install Dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: yarn install --cache-folder ~/.cache/yarn --prefer-offline --frozen-lockfile --force-node-version=16 | |
- name: Run Full Build | |
run: yarn build | |
- name: Run Knapsack Test | |
run: yarn test | |
- name: Release | |
run: yarn auto shipit | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} |