Skip to content

build(deps-dev): Bump the eslint group across 1 directory with 9 updates #4413

build(deps-dev): Bump the eslint group across 1 directory with 9 updates

build(deps-dev): Bump the eslint group across 1 directory with 9 updates #4413

Workflow file for this run

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 }}