|
8 | 8 | pull_request: {} |
9 | 9 |
|
10 | 10 | concurrency: |
11 | | - group: ci-${{ github.head_ref || github.ref }} |
12 | | - cancel-in-progress: true |
| 11 | + group: ci-${{ github.head_ref || github.ref }} |
| 12 | + cancel-in-progress: true |
13 | 13 |
|
14 | 14 | jobs: |
15 | 15 | test: |
16 | 16 | name: "Tests" |
17 | 17 | runs-on: ubuntu-latest |
| 18 | + timeout-minutes: 10 |
18 | 19 |
|
19 | 20 | steps: |
20 | | - - uses: actions/checkout@v2 |
| 21 | + - uses: actions/checkout@v3 |
| 22 | + - uses: pnpm/action-setup@v4 |
| 23 | + with: |
| 24 | + version: 9 |
21 | 25 | - name: Install Node |
22 | | - uses: volta-cli/action@v1 |
| 26 | + uses: actions/setup-node@v3 |
23 | 27 | with: |
24 | | - node-version: 12.x |
| 28 | + node-version: 18 |
| 29 | + cache: pnpm |
25 | 30 | - name: Install Dependencies |
26 | | - run: yarn install --frozen-lockfile |
| 31 | + run: pnpm install --frozen-lockfile |
27 | 32 | - name: Lint |
28 | | - run: yarn lint |
| 33 | + run: pnpm lint |
29 | 34 | - name: Run Tests |
30 | | - run: yarn test:ember |
| 35 | + run: pnpm test:ember |
31 | 36 |
|
32 | 37 | floating: |
33 | 38 | name: "Floating Dependencies" |
34 | 39 | runs-on: ubuntu-latest |
| 40 | + timeout-minutes: 10 |
35 | 41 |
|
36 | 42 | steps: |
37 | | - - uses: actions/checkout@v2 |
38 | | - - name: Install Node |
39 | | - uses: volta-cli/action@v1 |
| 43 | + - uses: actions/checkout@v3 |
| 44 | + - uses: pnpm/action-setup@v4 |
40 | 45 | with: |
41 | | - node-version: 12.x |
| 46 | + version: 9 |
| 47 | + - uses: actions/setup-node@v3 |
| 48 | + with: |
| 49 | + node-version: 18 |
| 50 | + cache: pnpm |
42 | 51 | - name: Install Dependencies |
43 | | - run: yarn install --no-lockfile |
| 52 | + run: pnpm install --no-lockfile |
44 | 53 | - name: Run Tests |
45 | | - run: yarn test:ember |
| 54 | + run: pnpm test:ember |
46 | 55 |
|
47 | 56 | try-scenarios: |
48 | 57 | name: ${{ matrix.try-scenario }} |
49 | 58 | runs-on: ubuntu-latest |
50 | | - needs: 'test' |
| 59 | + needs: "test" |
| 60 | + timeout-minutes: 10 |
51 | 61 |
|
52 | 62 | strategy: |
53 | 63 | fail-fast: false |
54 | 64 | matrix: |
55 | 65 | try-scenario: |
56 | | - - ember-lts-3.24 |
57 | 66 | - ember-lts-3.28 |
| 67 | + - ember-lts-4.4 |
| 68 | + - ember-lts-4.12 |
| 69 | + - ember-lts-5.8 |
| 70 | + - ember-lts-5.12 |
58 | 71 | - ember-release |
59 | 72 | - ember-beta |
60 | 73 | - ember-canary |
61 | | - - ember-classic |
62 | 74 | - embroider-safe |
63 | 75 | - embroider-optimized |
64 | 76 |
|
65 | 77 | steps: |
66 | | - - uses: actions/checkout@v2 |
| 78 | + - uses: actions/checkout@v3 |
| 79 | + - uses: pnpm/action-setup@v4 |
| 80 | + with: |
| 81 | + version: 9 |
67 | 82 | - name: Install Node |
68 | | - uses: volta-cli/action@v1 |
| 83 | + uses: actions/setup-node@v3 |
69 | 84 | with: |
70 | | - node-version: 12.x |
| 85 | + node-version: 18 |
| 86 | + cache: pnpm |
71 | 87 | - name: Install Dependencies |
72 | | - run: yarn install --frozen-lockfile |
| 88 | + run: pnpm install --frozen-lockfile |
73 | 89 | - name: Run Tests |
74 | 90 | run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} |
0 commit comments