This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
Vikas/f dag app #421
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: Lint checks | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
defaults: | |
run: | |
shell: bash | |
working-directory: . | |
jobs: | |
lint: | |
name: Run lint checks | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Setup Node.js 18.x | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
- name: Install pnpm | |
run: corepack enable && corepack prepare [email protected] --activate | |
- name: Unit tests | |
run: make test | |
- name: ESlint | |
run: pnpm run lint | |
- name: Storybook | |
run: pnpm run build-storybook |