-
-
Notifications
You must be signed in to change notification settings - Fork 448
87 lines (68 loc) · 1.88 KB
/
Copy pathmain-suite.yml
File metadata and controls
87 lines (68 loc) · 1.88 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: main-suite
on:
pull_request:
branches:
- '*'
push:
branches:
- main
- next
permissions:
contents: read
jobs:
test:
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ["22", "24"]
os:
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Setup node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
scope: '@lingui'
- name: Install dependencies if needed
run: yarn install --network-timeout 1000000
- name: Build packages
run: yarn release:build
- name: Unit Testing
run: yarn test:ci
validate:
timeout-minutes: 10
runs-on: ubuntu-latest
needs: test
name: validate (node 22, ubuntu-latest)
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .nvmrc
cache: 'yarn'
scope: '@lingui'
- name: Install dependencies if needed
run: yarn install
- name: Check Prettier Formatting
run: yarn prettier:check
- name: Build packages
run: yarn release:build
- name: Linting & Types
run: yarn lint:all
- name: Unit Testing
run: yarn test:ci:coverage
- name: Test Public Typings
run: yarn test:types
- name: E2E Testing
run: yarn test:e2e
- name: Check coverage
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
verbose: true