Skip to content

Merge pull request #312 from storybookjs/upgrade-to-sb-9.0 #49

Merge pull request #312 from storybookjs/upgrade-to-sb-9.0

Merge pull request #312 from storybookjs/upgrade-to-sb-9.0 #49

Workflow file for this run

name: Check
on: [push]
defaults:
run:
shell: bash
env:
CI: true
COREPACK_INTEGRITY_KEYS: 0
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
- name: Enable corepack (for pnpm)
# https://nodejs.org/api/corepack.html
run: corepack enable
- name: Setup Node.js
# https://github.com/actions/setup-node
uses: actions/setup-node@v4
with:
cache: pnpm
node-version-file: '.nvmrc'
- name: Install Node.js dependencies with pnpm
# https://pnpm.io/cli/install
run: >
pnpm install
--frozen-lockfile
- name: Run ESLint
run: pnpm lint