File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CD
2+ on :
3+ workflow_dispatch :
4+ push :
5+ tags :
6+ - ' v*'
7+ jobs :
8+ release :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ - uses : actions/setup-node@v4
13+ with :
14+ node-version : ' 22'
15+ cache : npm
16+ - uses : actions/setup-python@v5
17+ with :
18+ python-version : ' 3.11'
19+ - run : npm ci
20+ - run : npm test
21+ - run : npm run build
22+ - run : python -m pip install --upgrade pip
23+ - run : pip install -e '.[dev]' || pip install -r requirements.txt
24+ - run : pytest -q
25+ - run : echo "CD ready: artefato validado em tag/manual trigger"
Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ pull_request :
5+ jobs :
6+ node :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+ - uses : actions/setup-node@v4
11+ with :
12+ node-version : ' 22'
13+ cache : npm
14+ - run : npm ci
15+ - run : npm test
16+ - run : npm run build
17+ python :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ - uses : actions/setup-python@v5
22+ with :
23+ python-version : ' 3.11'
24+ - run : python -m pip install --upgrade pip
25+ - run : pip install -e '.[dev]' || pip install -r requirements.txt
26+ - run : pytest -q
You can’t perform that action at this time.
0 commit comments