Skip to content

Commit

Permalink
fix: enhance lint and type checks in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
emnnipal committed Nov 27, 2022
1 parent 3d640a7 commit 816bb95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 29 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts

- name: Check Types
run: pnpm check:types

- name: Run ESLint
run: pnpm lint
- name: Run lint and type checks
run: pnpm lint & pnpm check:types & wait

- name: Run tests
run: pnpm test -- --maxWorkers=4 --no-color --coverage=false --changedSince=origin/main
Expand Down
26 changes: 2 additions & 24 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,8 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts

- name: Run ESLint
run: pnpm lint
- name: Run lint and type checks
run: pnpm lint & pnpm check:types & wait

- name: Run tests
run: pnpm test -- --maxWorkers=4 --no-color --coverage=false --changedSince=origin/main

pr-check-types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- uses: pnpm/[email protected]
with:
version: 7.0.1

- uses: actions/setup-node@v2
with:
node-version: 16.13.0
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts

- name: Check Types
run: pnpm check:types

0 comments on commit 816bb95

Please sign in to comment.