Skip to content

Commit d3b3c02

Browse files
committed
pre relase run own code checks
1 parent 70d2c38 commit d3b3c02

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

.github/workflows/pre_release.yaml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,31 @@ jobs:
2626
release_type: prerelease
2727
existing_changelog_path: CHANGELOG.md
2828

29-
wait_for_checks:
30-
name: Wait for code checks to pass
29+
run_code_checks:
30+
needs: [ release_metadata ]
31+
name: Run code checks
3132
runs-on: ubuntu-latest
3233
steps:
33-
- uses: lewagon/[email protected]
34+
- uses: actions/checkout@v4
35+
- name: Use Node.js 22
36+
uses: actions/setup-node@v4
3437
with:
35-
ref: ${{ github.ref }}
36-
repo-token: ${{ secrets.GITHUB_TOKEN }}
37-
check-regexp: (Code checks)
38-
wait-interval: 5
38+
node-version: 22
39+
cache: 'npm'
40+
cache-dependency-path: 'package-lock.json'
41+
- name: Install Dependencies
42+
run: npm ci
43+
- name: Lint
44+
run: npm run lint
45+
- name: Build
46+
run: npm run build
47+
- name: Test
48+
run: npm run test
49+
- name: Type checks
50+
run: npm run type-check
3951

4052
update_changelog_and_version:
41-
needs: [ release_metadata, wait_for_checks ]
53+
needs: [ release_metadata, run_code_checks ]
4254
name: Update changelog and prepare beta version
4355
runs-on: ubuntu-latest
4456
outputs:

0 commit comments

Comments
 (0)