File tree Expand file tree Collapse file tree 4 files changed +38
-11
lines changed
Expand file tree Collapse file tree 4 files changed +38
-11
lines changed Original file line number Diff line number Diff line change 2121 with :
2222 fetch-depth : 0
2323 ref : ${{ github.head_ref }}
24- - name : Setup
24+
25+ - name : Setup project
2526 uses : ./.github/actions/setup
27+
2628 - name : Generate Changeset for Renovate
2729 env :
2830 SKIP_COMMIT : TRUE
4143 pnpx @scaleway/changesets-renovate
4244 pnpm turbo run build --filter @apitree.cz/prettier-config
4345 pnpm prettier --write .changeset/**/*.md
46+
4447 - name : Commit and Push Changeset
4548 # language=bash
4649 run : |
Original file line number Diff line number Diff line change @@ -19,57 +19,74 @@ jobs:
1919 steps :
2020 - name : Checkout
2121 uses : actions/checkout@v6
22- - name : Setup
22+
23+ - name : Setup project
2324 uses : ./.github/actions/setup
25+
2426 - name : Build packages
2527 run : pnpm run build
28+
2629 commitlint :
2730 needs : setup
2831 runs-on : ubuntu-latest
2932 steps :
3033 - name : Checkout
3134 uses : actions/checkout@v6
32- - name : Setup
35+
36+ - name : Setup project
3337 uses : ./.github/actions/setup
38+
3439 - name : Run commitlint
3540 run : pnpm commitlint --from=${{ github.sha }}
41+
3642 manypkg :
3743 needs : setup
3844 runs-on : ubuntu-latest
3945 steps :
4046 - name : Checkout
4147 uses : actions/checkout@v6
42- - name : Setup
48+
49+ - name : Setup project
4350 uses : ./.github/actions/setup
51+
4452 - name : Run manypkg
4553 run : pnpm manypkg check
54+
4655 eslint :
4756 needs : setup
4857 runs-on : ubuntu-latest
4958 steps :
5059 - name : Checkout
5160 uses : actions/checkout@v6
52- - name : Setup
61+
62+ - name : Setup project
5363 uses : ./.github/actions/setup
64+
5465 - name : Run eslint
5566 run : pnpm run lint
67+
5668 tsc :
5769 needs : setup
5870 runs-on : ubuntu-latest
5971 steps :
6072 - name : Checkout
6173 uses : actions/checkout@v6
62- - name : Setup
74+
75+ - name : Setup project
6376 uses : ./.github/actions/setup
77+
6478 - name : Run tsc
6579 run : pnpm run ts
80+
6681 prettier :
6782 needs : setup
6883 runs-on : ubuntu-latest
6984 steps :
7085 - name : Checkout
7186 uses : actions/checkout@v6
72- - name : Setup
87+
88+ - name : Setup project
7389 uses : ./.github/actions/setup
90+
7491 - name : Run prettier
7592 run : pnpm run format
Original file line number Diff line number Diff line change @@ -35,34 +35,39 @@ jobs:
3535 with :
3636 fetch-depth : 0
3737 token : ${{ secrets.GIT_TOKEN }}
38- - name : Setup
38+
39+ - name : Setup project
3940 uses : ./.github/actions/setup
41+
4042 - name : Build
4143 run : pnpm run build
42- - name : Setup npm registry
43- run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> "$HOME/.npmrc"
44+
4445 - name : Snapshot release
4546 if : inputs.stable == false
4647 run : |
4748 pnpm changeset version --snapshot next
4849 pnpm changeset publish --tag next --no-git-tag
50+
4951 - name : Stable release
5052 if : inputs.stable == true
5153 run : |
5254 pnpm changeset version
5355 pnpm changeset publish --no-git-tag
5456 pnpm install
57+
5558 - name : Commit changes
5659 if : inputs.stable == true
5760 run : |
5861 git config user.name "GitHub Actions"
5962 git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
6063 git add .
6164 git diff-index --quiet HEAD || git commit -m "chore: release [skip ci]"
65+
6266 - name : Create git tags
6367 if : inputs.stable == true
6468 run : |
6569 pnpm changeset tag
70+
6671 - name : Push changes
6772 if : inputs.stable == true
6873 run : |
Original file line number Diff line number Diff line change 2121 steps :
2222 - name : Checkout
2323 uses : actions/checkout@v6
24- - name : Setup
24+
25+ - name : Setup project
2526 uses : ./.github/actions/setup
27+
2628 - name : Run tests
2729 run : pnpm run test
You can’t perform that action at this time.
0 commit comments