feat: 1.10.5 #64
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: Lint and Build | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '**' | |
- '!README.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set Up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
- name: Install Packages | |
run: npm i | |
- name: Build | |
run: npm run build | |
permissions: | |
contents: read | |
pull-requests: read | |
checks: write | |
build-storybook: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set Up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
- name: Install Packages | |
run: npm i | |
- name: Build | |
run: npm run build | |
- name: Build Storybook | |
run: npm run build-storybook | |
permissions: | |
contents: read | |
pull-requests: read | |
checks: write | |
lint: | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
- build-storybook | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set Up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
- name: Install packages | |
run: npm i | |
- name: Build | |
run: npm run build | |
- name: Run TypeScript Compiler | |
run: npm run tsc | |
- name: Run ESLint | |
run: npm run lint | |
permissions: | |
contents: read | |
pull-requests: read | |
checks: write |