Skip to content

Commit a381713

Browse files
Remove build duplication
1 parent cbe3b45 commit a381713

4 files changed

Lines changed: 12 additions & 25 deletions

File tree

.github/workflows/electron.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ on:
44
push:
55
branches:
66
- main
7+
tags:
8+
- v*
79
pull_request: {}
810

911
jobs:
10-
test:
12+
electron-test:
1113
name: Tests
14+
1215
runs-on: ubuntu-22.04
1316
timeout-minutes: 10
1417
steps:

.github/workflows/ember.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ on:
44
push:
55
branches:
66
- main
7+
tags:
8+
- v*
79
pull_request: {}
810

911
jobs:
10-
test:
12+
ember-test:
1113
name: Tests
14+
1215
runs-on: ubuntu-22.04
1316
timeout-minutes: 10
1417
steps:

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ on:
44
push:
55
branches:
66
- main
7+
tags:
8+
- v*
79
pull_request: {}
810

911
jobs:
1012
lint:
1113
name: JS, HBS, Prettier, Types
14+
1215
runs-on: ubuntu-22.04
1316
timeout-minutes: 10
1417
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,10 @@ on:
66
- v*
77

88
jobs:
9-
test:
10-
name: Lint and Test
11-
runs-on: ubuntu-22.04
12-
timeout-minutes: 10
13-
steps:
14-
- uses: actions/checkout@v4
15-
- uses: pnpm/action-setup@v4
16-
- uses: actions/setup-node@v4
17-
with:
18-
node-version: 22
19-
cache: 'pnpm'
20-
- run: pnpm install
21-
- name: Lint JS
22-
run: pnpm lint:js
23-
- name: Lint HBS
24-
run: pnpm lint:hbs
25-
- name: Get xvfb
26-
run: sudo apt-get install xvfb
27-
- name: Browser Test
28-
run: pnpm test:ember
29-
- name: Electron Test
30-
run: xvfb-run --auto-servernum pnpm test:electron
319
build:
3210
name: Build (${{ matrix.os }})
3311
if: startsWith(github.ref, 'refs/tags/')
34-
needs: test
12+
needs: [lint, ember-test, electron-test]
3513
runs-on: ${{ matrix.os }}
3614
timeout-minutes: 30
3715
strategy:

0 commit comments

Comments
 (0)