Skip to content

Commit de759fc

Browse files
committed
Fix CI
1 parent 9c36cae commit de759fc

1 file changed

Lines changed: 15 additions & 36 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,63 +10,42 @@ jobs:
1010
lint:
1111
name: Lint
1212
runs-on: ubuntu-latest
13-
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v4
16-
17-
- name: Setup Node.js
18-
uses: actions/setup-node@v4
19-
with:
20-
node-version: '20'
21-
cache: 'pnpm'
22-
23-
- name: Setup pnpm
24-
uses: pnpm/action-setup@v2
25-
with:
26-
version: '10'
27-
28-
- name: Install dependencies
29-
run: pnpm install --frozen-lockfile
3013

31-
- name: Run lint
32-
run: pnpm run lint
33-
name: CI
34-
35-
on:
36-
push:
37-
branches:
38-
- main
39-
- master
40-
pull_request: {}
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: volta-cli/action@v4
17+
- run: volta install node pnpm
18+
- run: pnpm install --frozen-lockfile
19+
- run: pnpm run lint
4120

42-
jobs:
4321
test:
44-
name: "Tests"
22+
name: Tests
4523
runs-on: ubuntu-latest
24+
needs: lint
4625

4726
steps:
48-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v4
4928
- uses: volta-cli/action@v4
5029
- run: volta install node pnpm
5130
- run: pnpm install --frozen-lockfile
52-
- run: pnpm run lint
5331
- run: pnpm run test:ember
5432

5533
floating:
56-
name: "Floating Dependencies"
34+
name: Floating Dependencies
5735
runs-on: ubuntu-latest
36+
needs: lint
5837

5938
steps:
60-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v4
6140
- uses: volta-cli/action@v4
6241
- run: volta install node pnpm
6342
- run: pnpm install --no-lockfile
6443
- run: pnpm run test:ember
6544

6645
try-scenarios:
67-
name: ${{ matrix.try-scenario }}
46+
name: Ember Try - ${{ matrix.try-scenario }}
6847
runs-on: ubuntu-latest
69-
needs: "test"
48+
needs: test
7049

7150
strategy:
7251
fail-fast: false
@@ -79,7 +58,7 @@ jobs:
7958
- ember-canary
8059

8160
steps:
82-
- uses: actions/checkout@v2
61+
- uses: actions/checkout@v4
8362
- uses: volta-cli/action@v4
8463
- run: volta install node pnpm
8564
- run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)