-
Notifications
You must be signed in to change notification settings - Fork 294
37 lines (28 loc) · 769 Bytes
/
ci.yml
File metadata and controls
37 lines (28 loc) · 769 Bytes
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
name: Test
on: [push]
jobs:
tsc:
runs-on: ubuntu-latest
name: TypeScript
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- name: 🧪 tsc
run: yarn types
test:
runs-on: ubuntu-latest
name: Lint & test with Node
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- name: Build SDK
run: yarn build
- name: 🧪 Lint and test with Node ${{ env.NODE_VERSION }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
yarn lint
yarn coverage
yarn validate-translations
- name: 🧪 Validate CommonJS bundle with Node ${{ env.NODE_VERSION }}
run: yarn validate-cjs