Commit 7a5696b
committed
Update GitHub Actions workflow for v3 build
Split workflow into two jobs:
- build-test-v3: Builds and tests v3 directory (Node 18, npm)
- build-test-legacy: Builds legacy v0.1.x (only on master branch)
Changes:
- Updated to actions/checkout@v4 and actions/setup-node@v4
- v3 job runs on all branches/PRs
- Legacy job only runs on master branch
- v3 uses npm ci and working-directory for isolation
- Node 18 for v3 (matches package.json engines requirement)
This allows v3 development in branches while keeping legacy builds working on master.1 parent 8afd40e commit 7a5696b
1 file changed
Lines changed: 30 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
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 | + | |
21 | 48 | | |
22 | 49 | | |
23 | 50 | | |
| |||
0 commit comments