Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Aug 13, 2024
1 parent 6956b29 commit 7f64f09
Showing 1 changed file with 26 additions and 19 deletions.
45 changes: 26 additions & 19 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,35 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Install PNPM
uses: pnpm/[email protected]
with:
version: 8

- name: Install Node 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'pnpm'
- name: Install Bun
uses: oven-sh/setup-bun@v2

- name: Install dependencies
run: pnpm install

- name: Check Formatting
run: pnpm format:check
run: bun install

- name: Build
run: pnpm build

- name: Type Check
run: pnpm -r compile
run: bun run build

- name: Checks
run: |
bun format:check
bun run --cwd packages/fake-browser check
bun run --cwd packages/isolated-element check
bun run --cwd packages/isolated-element-demo check
bun run --cwd packages/job-scheduler check
bun run --cwd packages/match-patterns check
bun run --cwd packages/messaging check
bun run --cwd packages/messaging-demo check
bun run --cwd packages/proxy-service check
bun run --cwd packages/proxy-service-demo check
bun run --cwd packages/storage check
- name: Run Tests
run: pnpm -r test:coverage
run: |
bun run --cwd packages/fake-browser test:coverage
bun run --cwd packages/isolated-element test:coverage
bun run --cwd packages/job-scheduler test:coverage
bun run --cwd packages/match-patterns test:coverage
bun run --cwd packages/messaging test:coverage
bun run --cwd packages/proxy-service test:coverage
bun run --cwd packages/storage test:coverage

0 comments on commit 7f64f09

Please sign in to comment.