Skip to content

Commit db66123

Browse files
authored
chore: merge pull request #35 from threeal/use-nx
Introduce Nx and Adjust Workflow
2 parents a5aff0a + 14b1076 commit db66123

File tree

50 files changed

+1191
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1191
-55
lines changed
Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: build
1+
name: test
22
on:
33
workflow_dispatch:
44
pull_request:
55
branches: ["*", "!latest"]
66
push:
77
branches: [latest, main]
88
jobs:
9-
build:
9+
package:
1010
runs-on: macos-latest
1111
steps:
1212
- name: Checkout
@@ -15,26 +15,17 @@ jobs:
1515
- name: Install deps
1616
run: yarn install
1717

18-
- name: Fix sorting
19-
run: yarn sort
20-
21-
- name: Fix formatting
22-
run: yarn format
23-
24-
- name: Check lint
25-
run: yarn lint
26-
27-
- name: Clean Project
18+
- name: Clean dist
2819
run: yarn clean
2920

30-
- name: Build project
21+
- name: Build dist
3122
run: yarn build
3223

33-
- name: Test project
24+
- name: Check diff
25+
run: git diff --exit-code HEAD
26+
27+
- name: Test lib
3428
run: yarn test
3529

36-
- name: Run Project
30+
- name: Run bin
3731
run: yarn google-rank --help
38-
39-
- name: Check diff
40-
run: git diff --exit-code HEAD

0 commit comments

Comments
 (0)