Merge pull request #335 from dohomi/dependabot/npm_and_yarn/nanoid-3.3.8 #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: Main CI Workflow | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
run-ci: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
name: Run Type Check & Linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install dependencies (with cache) | |
uses: bahmutov/npm-install@v1 | |
with: | |
useLockFile: false | |
- name: Check types | |
run: yarn check-types | |
- name: Lint code | |
run: yarn lint | |
- name: Build package | |
run: yarn build | |
- name: Build storybook | |
run: yarn build:storybook |