Skip to content

Commit 3401cf9

Browse files
Revert "Remove build duplication"
This reverts commit a381713.
1 parent a381713 commit 3401cf9

4 files changed

Lines changed: 25 additions & 12 deletions

File tree

.github/workflows/electron.yml

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

119
jobs:
12-
electron-test:
10+
test:
1311
name: Tests
14-
1512
runs-on: ubuntu-22.04
1613
timeout-minutes: 10
1714
steps:

.github/workflows/ember.yml

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

119
jobs:
12-
ember-test:
10+
test:
1311
name: Tests
14-
1512
runs-on: ubuntu-22.04
1613
timeout-minutes: 10
1714
steps:

.github/workflows/lint.yml

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

119
jobs:
1210
lint:
1311
name: JS, HBS, Prettier, Types
14-
1512
runs-on: ubuntu-22.04
1613
timeout-minutes: 10
1714
steps:

.github/workflows/release.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,32 @@ 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
931
build:
1032
name: Build (${{ matrix.os }})
1133
if: startsWith(github.ref, 'refs/tags/')
12-
needs: [lint, ember-test, electron-test]
34+
needs: test
1335
runs-on: ${{ matrix.os }}
1436
timeout-minutes: 30
1537
strategy:

0 commit comments

Comments
 (0)