-
-
Notifications
You must be signed in to change notification settings - Fork 4
55 lines (52 loc) · 1.45 KB
/
Copy pathts-tests.yml
File metadata and controls
55 lines (52 loc) · 1.45 KB
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
49
50
51
52
53
54
55
name: TS Tests
on:
push:
branches: [ main, develop ]
paths:
- 'src/**'
- 'examples/**'
- '*.json'
- '*.js'
- '*.ts'
- '*.tsx'
- '.github/workflows/ts-tests.yml'
- '.github/workflows/reusable-typescript.yml'
pull_request:
branches: [ main, develop ]
paths:
- 'src/**'
- 'examples/**'
- '*.json'
- '*.js'
- '*.ts'
- '*.tsx'
- '.github/workflows/ts-tests.yml'
- '.github/workflows/reusable-typescript.yml'
jobs:
test-22x:
uses: ./.github/workflows/reusable-typescript.yml
with:
node-version: '22'
install-command: 'npm install --workspaces'
build-command: 'npm run build'
run-format-check: false
run-lint: false
run-type-check: false
run-tests: true
test-command: 'npm run test:all && npm run test:coverage && npm run build:lib'
secrets:
TEST_DATALAYER_API_KEY: ${{ secrets.TEST_DATALAYER_API_KEY }}
test-24x:
needs: test-22x # Run sequentially
uses: ./.github/workflows/reusable-typescript.yml
with:
node-version: '24.x'
install-command: 'npm install --workspaces'
build-command: 'npm run build'
run-format-check: false
run-lint: false
run-type-check: false
run-tests: true
test-command: 'npm run test:all && npm run test:coverage && npm run build:lib'
secrets:
TEST_DATALAYER_API_KEY: ${{ secrets.TEST_DATALAYER_API_KEY }}