Skip to content

Commit

Permalink
build: use nx
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Oct 11, 2023
1 parent cf55787 commit 60c81bd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/node.js.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: nrwl/nx-set-shas@v3
- run: npm ci
- run: npm run build --if-present
- run: npm test

- run: npx nx format:check
- run: npm run lint
- run: npx nx affected -t test --parallel=3
# - run: npx nx affected -t build --parallel=3

0 comments on commit 60c81bd

Please sign in to comment.