Skip to content

Commit

Permalink
feat: more ci tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed Jun 1, 2023
1 parent 5c50a4f commit adbabda
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
name: Build and Test
name: CI
timeout-minutes: 15
runs-on: ubuntu-latest
env:
Expand All @@ -34,8 +34,20 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Format
run: pnpm format:check

- name: Lint
run: pnpm lint

- name: Typecheck
run: pnpm typecheck

- name: Test
run: pnpm test:coverage

- name: Build
run: pnpm build

- name: Test
run: pnpm test
- name: Build storybook
run: pnpm build-storybook
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
"type": "module",
"scripts": {
"build": "pnpm turbo build",
"build-storybook": "pnpm turbo build-storybook --filter=@noodle/storybook",
"build:pkgs": "pnpm turbo build --filter=!web",
"clean": "del pnpm-lock.yaml **/coverage **/storybook-static **/tsconfig.tsbuildinfo **/dist **/.next **/node_modules && pnpm install",
"dev": "pnpm turbo dev",
"format:check": "prettier --check .",
"format:write": "prettier --write .",
"lint": "eslint . --max-warnings 0 --report-unused-disable-directives",
"lint:fix": "pnpm run lint --fix",
"lint": "pnpm turbo lint",
"lint:fix": "pnpm turbo lint:fix",
"prepare": "husky install",
"start": "pnpm turbo start",
"storybook": "pnpm turbo storybook --filter=@noodle/storybook",
Expand Down

0 comments on commit adbabda

Please sign in to comment.