Skip to content

Commit 17eeb95

Browse files
committed
Add CI
1 parent 4805654 commit 17eeb95

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

.github/workflows/ci-build.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,31 @@ jobs:
3636
- run: yarn install --no-lockfile
3737
- run: yarn test:ember
3838

39+
types-scenarios:
40+
name: "Types: ${{ matrix.tsVersion }}"
41+
runs-on: ubuntu-latest
42+
needs: test
43+
44+
strategy:
45+
matrix:
46+
tsVersion:
47+
- 4.4
48+
- 4.6
49+
- 4.8
50+
- 5.0
51+
- 5.1
52+
steps:
53+
- uses: actions/checkout@v2
54+
- uses: volta-cli/action@v1
55+
- name: install dependencies
56+
run: yarn install --frozen-lockfile
57+
- name: Swap TS Version
58+
run: yarn add --dev typescript@{{ matrix.tsVersion }}
59+
- name: Check Types
60+
run: |
61+
tsc -v
62+
yarn test:types
63+
3964
try-scenarios:
4065
name: "Try: ${{ matrix.ember-try-scenario }}"
4166

@@ -89,4 +114,4 @@ jobs:
89114
- name: publish to npm
90115
run: npm publish
91116
env:
92-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
117+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 commit comments

Comments
 (0)