chore(deps): update react monorepo to v18.3.1 #101
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Workspace | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PNPM | |
uses: ./.github/actions/pnpm | |
- name: ESLint | |
run: pnpm eslint . | |
- name: Prettier | |
run: pnpm prettier --check . | |
- name: TypeScript | |
run: tsc --build . | |
- name: Beachball | |
if: github.event_name == 'pull_request' | |
run: | | |
pnpm beachball check || | |
( | |
echo "::error::Beachballchanges detected. Run 'pnpm beachball change' and commit the changes."; | |
exit 1 | |
) | |
- name: Sort packages | |
run: | | |
pnpx sort-package-json --check \ | |
./apps/*/package.json \ | |
./packages/*/package.json \ | |
package.json | |
- name: Check packages | |
run: | | |
pnpm -r exec npm pkg fix | |
if [[ $(git status --porcelain) ]]; then | |
echo '::error::Some packages need fixing.' | |
git diff | |
exit 1 | |
fi | |
jest: | |
name: Jest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PNPM | |
uses: ./.github/actions/pnpm | |
- name: Jest | |
run: pnpm jest --passWithNoTests |