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 1879aef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/node.js.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 18.x
node-version: ["latest"]
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@v4
- 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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js 16.x
uses: actions/setup-node@v3
Expand Down

0 comments on commit 1879aef

Please sign in to comment.