Skip to content

just push

just push #2

Workflow file for this run

name: "Linter"
on:
pull_request:
paths:
- 'src/**/*.ts'
- '!src/view/**'
- '.github/workflows/lint.yml'
workflow_dispatch:
inputs:
my_input:
description: 'testing e2e'
required: true
permissions:
contents: read
jobs:
chromatic:

Check failure on line 19 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Linter

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 19, Col: 3): The workflow must contain at least one job with no dependencies.
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: eslint
run: pnpm lint
- name: Run Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitOnceUploaded: true
onlyChanged: true
traceChanged: true
diagnostics: true
skip: ${{ github.event.pull_request.draft == true }}
- uses: actions/upload-artifact@v4
with:
name: chromatic-build-artifacts-${{ github.run_id }}
path: |
chromatic-diagnostics.json
**/build-storybook.log