Skip to content

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 20, 2024
1 parent e034292 commit 2f54255
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- run: npm i -g pnpm && pnpm i
name: Install dependencies
# fail and not publish if any of the unit tests are failing
- name: Test
run: pnpm test
- name: Test - Need to build shared before testing
run: pnpm build --filter @repo/shared && pnpm test
- name: clean up working directory
run: git status && git clean -f -d && git status
- name: Copy Readme file
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- run: npm i -g pnpm && pnpm i
name: Install dependencies
# fail and not publish if any of the unit tests are failing
- name: Test
run: pnpm test
- name: Test - need to build shared before testing
run: pnpm build --filter @repo/shared && pnpm test
- name: Copy Readme file
run: cp ./README.md ./lib # will be uncommented while rebranding
- name: Apply changesets, publish and create release, branches and tags
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
node-version: 20
- run: npm i -g pnpm && pnpm i
name: Install dependencies
- name: Run unit tests
run: pnpm test
- name: Build Shared Package and Run unit tests
run: pnpm build --filter @repo/shared && pnpm test
- name: Upload coverage reports to Codecov
continue-on-error: true
uses: codecov/codecov-action@v4
Expand Down
2 changes: 1 addition & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pnpm dev
To execute unit tests, use:

```bash
pnpm test
pnpm build --filter @repo/shared && pnpm test
```

### Linting and Formatting
Expand Down

0 comments on commit 2f54255

Please sign in to comment.