Skip to content

Commit 53d8158

Browse files
committed
ci/cd: remove test from release
1 parent 22d5073 commit 53d8158

File tree

1 file changed

+9
-38
lines changed

1 file changed

+9
-38
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,10 @@ on:
44
push:
55
tags:
66
- 'v*'
7-
workflow_dispatch:
8-
inputs:
9-
tag:
10-
description: 'Tag to release'
11-
required: true
12-
type: string
137

148
jobs:
15-
test:
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: Checkout
19-
uses: actions/checkout@v4
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: Run tests
31-
run: npm test
32-
33-
- name: Build action
34-
run: npm run build
35-
36-
- name: Check build output
37-
run: test -f dist/index.js
38-
399
release:
40-
needs: test
4110
runs-on: ubuntu-latest
42-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
4311
steps:
4412
- name: Checkout
4513
uses: actions/checkout@v4
@@ -76,12 +44,9 @@ jobs:
7644
tag_name: ${{ github.ref_name }}
7745
release_name: Release ${{ github.ref_name }}
7846
body: |
79-
## Changes in ${{ github.ref_name }}
47+
## GitHub Action: Svelte Check ${{ github.ref_name }}
8048
81-
### Features
82-
- Run svelte-check with enhanced error reporting
83-
- Problem matcher for better GitHub Actions integration
84-
- Configurable failure conditions for warnings and hints
49+
Run `svelte-check` with enhanced error reporting and problem matcher integration.
8550
8651
### Usage
8752
```yaml
@@ -93,13 +58,19 @@ jobs:
9358
fail-on-hints: false
9459
tsconfig: './tsconfig.json'
9560
```
61+
62+
### What's included
63+
- ✅ TypeScript error detection
64+
- ✅ Problem matcher for GitHub UI integration
65+
- ✅ Configurable failure conditions
66+
- ✅ Support for custom working directories and tsconfig
9667
draft: false
9768
prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') || contains(github.ref_name, 'rc') }}
9869

9970
update-major-tag:
10071
needs: release
10172
runs-on: ubuntu-latest
102-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, 'alpha') && !contains(github.ref_name, 'beta') && !contains(github.ref_name, 'rc')
73+
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, 'alpha') && !contains(github.ref_name, 'beta') && !contains(github.ref_name, 'rc')
10374
steps:
10475
- name: Checkout
10576
uses: actions/checkout@v4

0 commit comments

Comments
 (0)