build(deps-dev): Bump the storybook group across 1 directory with 13 updates #4379
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 and Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '18' ] | |
name: Node ${{ matrix.node }} tests | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run tests with coverage | |
run: yarn test:coverage | |
- name: Run node server side tests | |
run: yarn test:serverside | |
run-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.node-version' | |
cache: 'yarn' | |
# The yarn cache is not node_modules | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Lint code | |
run: yarn lint | |
- name: Check format | |
run: yarn format:check | |
- name: Build Storybook | |
run: yarn build-storybook | |
- name: Happo | |
run: yarn happo-ci | |
env: | |
HAPPO_API_KEY: ${{ secrets.HAPPO_API_KEY }} | |
HAPPO_API_SECRET: ${{ secrets.HAPPO_API_SECRET }} | |
- name: Run Danger JS | |
run: yarn danger ci --failOnErrors | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |