Skip to content

Commit f0c34de

Browse files
authored
fix: test the cts on the CI (#28)
1 parent f2a2670 commit f0c34de

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/cts.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: cts
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version-file: '.nvmrc'
14+
cache: 'yarn'
15+
cache-dependency-path: 'yarn.lock'
16+
17+
- name: Install Dependencies
18+
run: yarn install
19+
20+
- name: Generate client
21+
run: yarn generate:js
22+
23+
- name: Build client
24+
run: yarn client:build
25+
26+
- name: Generate CTS
27+
run: yarn cts:generate
28+
29+
- name: Run CTS
30+
run: yarn cts:test

0 commit comments

Comments
 (0)