File tree Expand file tree Collapse file tree 4 files changed +106
-100
lines changed
packages/ant-component-mapper Expand file tree Collapse file tree 4 files changed +106
-100
lines changed Original file line number Diff line number Diff line change 1+ name : CI Checks
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - master
7+
8+ permissions :
9+ contents : read
10+
11+ jobs :
12+ ci-checks :
13+ runs-on : ubuntu-latest
14+ name : CI Checks (Build, Lint, Test, Release Dry-Run)
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : ' 20'
25+ cache : ' npm'
26+
27+ - name : Install dependencies
28+ run : npm ci
29+
30+ - name : Derive appropriate SHAs for base and head for nx affected commands
31+ uses : nrwl/nx-set-shas@v4
32+ with :
33+ main-branch-name : ' master'
34+
35+ - name : Run build on affected projects
36+ run : npx nx affected --target=build --parallel=3
37+ continue-on-error : false
38+
39+ - name : Run lint on affected projects
40+ run : npx nx affected --target=lint --parallel=3
41+ continue-on-error : false
42+
43+ - name : Run typecheck on affected projects
44+ run : npx nx affected --target=typecheck --parallel=3
45+ continue-on-error : false
46+
47+ - name : Clear Jest cache
48+ run : npx jest --clearCache
49+
50+ - name : Run tests on affected projects
51+ run : npx nx affected --target=test --parallel=3 --coverage
52+ continue-on-error : false
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ workflow_dispatch :
8+
9+ permissions :
10+ id-token : write
11+ contents : write
12+
13+ jobs :
14+ release :
15+ runs-on : ubuntu-latest
16+ name : Release Packages
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
22+ ssh-key : ${{ secrets.BOT_SSH_KEY }}
23+
24+ - name : Setup Node.js
25+ uses : actions/setup-node@v4
26+ with :
27+ node-version : ' 20'
28+ cache : ' npm'
29+ registry-url : ' https://registry.npmjs.org'
30+
31+ - name : Install dependencies
32+ run : npm ci
33+
34+ - name : Derive appropriate SHAs for base and head for nx affected commands
35+ uses : nrwl/nx-set-shas@v4
36+ with :
37+ main-branch-name : ' master'
38+
39+ - name : Build affected packages
40+ run : npx nx affected --target=build --parallel=3
41+
42+ - name : 🚀 Run Nx Release
43+ run : |
44+ echo "registry=https://registry.npmjs.org/" >> .npmrc
45+ git config --global user.email "${{ secrets.RELEASE_EMAIL }}"
46+ git config --global user.name "${{ secrets.RELEASE_USERNAME }}"
47+
48+ npx nx release -y
49+ env :
50+ # NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
51+ GITHUB_TOKEN : ${{ secrets.RELEASE_TOKEN }}
52+ NPM_CONFIG_PROVENANCE : true
53+ npm_config_legacy_peer_deps : false
Original file line number Diff line number Diff line change @@ -104,4 +104,4 @@ We welcome any community contribution. Don't be afraid to report bug or to creat
104104
105105### LICENSE
106106
107- Apache License 2.0
107+ Apache License 2.0
You can’t perform that action at this time.
0 commit comments