Skip to content

Commit 207c4d6

Browse files
committed
removed the run test from release.yml and added the typechecking.
1 parent 36c870d commit 207c4d6

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,47 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14+
# ------------------------------
15+
# Checkout
16+
# ------------------------------
1417
- name: Checkout repository
1518
uses: actions/checkout@v4
1619
with:
1720
fetch-depth: 0
1821

22+
# ------------------------------
23+
# Node Setup
24+
# ------------------------------
1925
- name: Use Node.js 20
2026
uses: actions/setup-node@v4
2127
with:
2228
node-version: 20
2329
cache: yarn
2430

31+
# ------------------------------
32+
# Install Dependencies
33+
# ------------------------------
2534
- name: Install dependencies
2635
run: yarn install --frozen-lockfile
2736

37+
# ------------------------------
38+
# Code Quality Checks
39+
# ------------------------------
40+
- name: Lint code
41+
run: yarn lint --max-warnings=0
42+
43+
- name: Check formatting
44+
run: yarn prettier --check .
45+
46+
- name: Type check
47+
run: yarn tsc --noEmit
48+
49+
# ------------------------------
50+
# Build
51+
# ------------------------------
2852
- name: Build project
2953
run: yarn build
3054

31-
- name: Run tests
32-
run: yarn test --if-present
33-
3455
# ------------------------------
3556
# Auto Changelog Generation
3657
# ------------------------------
@@ -40,7 +61,7 @@ jobs:
4061
| tar -xz
4162
sudo mv git-cliff /usr/local/bin/
4263
43-
- name: Generate Changelog
64+
- name: Generate changelog
4465
run: |
4566
git-cliff --tag ${GITHUB_REF#refs/tags/} > RELEASE_CHANGELOG.md
4667

0 commit comments

Comments
 (0)