Skip to content

Commit

Permalink
use melos run
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmartos96 committed Jun 13, 2024
1 parent 0234f9e commit 10fbada
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: docker pull postgres:latest

- name: Run tests
run: melos test:all
run: melos run test:all

lint:
runs-on: ubuntu-latest
Expand All @@ -57,7 +57,7 @@ jobs:
run: melos bs

- name: Verify formatting
run: melos format
run: melos run format

- name: Analyze project source
run: melos analyze
run: melos run analyze
8 changes: 4 additions & 4 deletions .github/workflows/tests_lowests_constraints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
run: melos bs

- name: Downgrade deps
run: melos deps_downgrade
run: melos run deps_downgrade

# pre-pull the image so `usePostgresDocker` does not delay which may causes
# tests to timeout
- name: pull latest postgres image
run: docker pull postgres:latest

- name: Run tests
run: melos test:all
run: melos run test:all

analyze:
runs-on: ubuntu-latest
Expand All @@ -55,7 +55,7 @@ jobs:
run: melos bs

- name: Downgrade deps
run: melos deps_downgrade
run: melos run deps_downgrade

- name: Analyze project source
run: melos analyze
run: melos run analyze
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ Install the `protoc_plugin` Dart package.

To generate the code

`melos generate_proto`
`melos run generate_proto`


### Run the tests

`melos test:all`
`melos run test:all`
2 changes: 1 addition & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:

scripts:
lint:all:
run: melos run analyze && melos run format
run: melos run format && melos run analyze
description: Run all static analysis checks.

analyze:
Expand Down

0 comments on commit 10fbada

Please sign in to comment.