Skip to content

Commit

Permalink
Add NX affected commands
Browse files Browse the repository at this point in the history
  • Loading branch information
brionmario committed Oct 13, 2022
1 parent 4b45622 commit 1dd9129
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: 🐳 Set SHAs for Nx
id: set-shas
uses: nrwl/nx-set-shas@v3

- name: 🥡 Setup pnpm
id: setup-pnpm
uses: pnpm/[email protected]
Expand Down Expand Up @@ -64,7 +68,7 @@ jobs:
- name: ⏳ Lint All Files
id: lint-with-eslint
run: pnpm lint
run: pnpm nx affected --target=lint --parallel=3

typecheck:
name: ʦ Typecheck (STATIC ANALYSIS)
Expand All @@ -83,6 +87,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: 🐳 Set SHAs for Nx
id: set-shas
uses: nrwl/nx-set-shas@v3

- name: 🥡 Setup pnpm
uses: pnpm/[email protected]
with:
Expand Down Expand Up @@ -112,7 +120,7 @@ jobs:
run: pnpm build:modules

- name: ☄️ Check Type Errors
run: pnpm typecheck
run: pnpm nx affected --target=typecheck --parallel=3

test:
name: 👾 Unit Test (TESTING)
Expand All @@ -132,6 +140,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: 🐳 Set SHAs for Nx
id: set-shas
uses: nrwl/nx-set-shas@v3

- name: 🥡 Setup pnpm
uses: pnpm/[email protected]
with:
Expand Down

0 comments on commit 1dd9129

Please sign in to comment.