-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
48 lines (44 loc) · 1.34 KB
/
deprecations-check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: 'Check Deprecations'
on:
workflow_dispatch:
env:
TURBO_API: http://127.0.0.1:9080
TURBO_TOKEN: this-is-not-a-secret
TURBO_TEAM: myself
jobs:
test-all-deprecations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
- uses: actions/setup-node@v4
with:
node-version: 19.x
cache: 'pnpm'
- name: Install dependencies for main
run: pnpm install
- name: Basic Tests
env:
CI: true
ASSERT_ALL_DEPRECATIONS: true
run: pnpm test
test-all-deprecations-releases:
strategy:
fail-fast: false
matrix:
scenario: [ember-beta, ember-canary]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
- uses: actions/setup-node@v4
with:
node-version: 19.x
cache: 'pnpm'
- name: Install dependencies for ${{ matrix.scenario }}
run: pnpm install
- name: Basic Tests
env:
CI: true
ASSERT_ALL_DEPRECATIONS: true
run: pnpm test:try-one ${{ matrix.scenario }} -- ember test --test-port=0