Skip to content

Commit

Permalink
Try using --dry flag with tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFarmer committed Mar 13, 2024
1 parent 322ad56 commit 3269c13
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
cache-and-install-deps-and-build:
cache-and-install-deps-and-run-tests:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -39,19 +39,18 @@ jobs:
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Dry-run of build
shell: bash
run: pnpm pack

run: |
pnpm run clean
tsc -p tsconfig.esm.json --dry
tsc -p tsconfig.cjs.json --dry
run-tests:
runs-on: ubuntu-latest
steps:
- name: Run lint
run: pnpm lint

Expand Down

0 comments on commit 3269c13

Please sign in to comment.