Skip to content

Commit

Permalink
fix(docs): update text with new cicd action setup
Browse files Browse the repository at this point in the history
  • Loading branch information
waldronmatt committed May 10, 2024
1 parent 1c98d28 commit e878894
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 1 addition & 3 deletions docs/repo/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ We are using `lint-staged` to run linting and tests on staged files. This is the
5. Run tests of affected files (`jest`/`vitest` and `nx`)
6. Lint exports on all `.ts` files (`knip` and `nx`)

We limit automatic fixes to file formatting and linting when possible. For everything else, we let the user to decide on actions to take if there are errors.

We also use Github actions as an extra safeguard in case users bypass `lint-staged`.
We auto format and apply linting fixes when possible. For everything else, we let the user to decide on actions to take if there are errors.

## Versioning

Expand Down
8 changes: 1 addition & 7 deletions docs/repo/CICD.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@ pnpm bootstrap:ci
Found in the workflow `.yml` cicd files, this command will run all three tasks in parallel for only affected files:

```bash
npx nx affected -t build,lint,test,lint:knip --parallel=4
```

Lint the monorepo:

```bash
pnpm lint:mr
npx nx affected -t build,lint,test --parallel=3
```

Versioning command that will bypass prompts for avoiding manual intervention:
Expand Down

0 comments on commit e878894

Please sign in to comment.