File tree Expand file tree Collapse file tree 3 files changed +205
-15
lines changed
Expand file tree Collapse file tree 3 files changed +205
-15
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [ dev ]
66 pull_request :
7- branches : [ dev ] # PRs cujo destino é dev
7+ branches : [ dev ]
88
99concurrency :
1010 group : ci-dev-${{ github.ref }}
@@ -15,13 +15,24 @@ jobs:
1515 name : build-and-test (dev)
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v4
19- - uses : actions/setup-node@v4
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+
21+ - name : Use Node.js 20
22+ uses : actions/setup-node@v4
2023 with :
2124 node-version : 20
22- - uses : pnpm/action-setup@v4
25+
26+ - name : Setup pnpm
27+ uses : pnpm/action-setup@v4
2328 with :
2429 run_install : false
25- - run : pnpm i
26- - run : pnpm build
27- - run : pnpm test
30+
31+ - name : Install (frozen lockfile)
32+ run : pnpm i --frozen-lockfile
33+
34+ - name : Build
35+ run : pnpm build
36+
37+ - name : Test
38+ run : pnpm test
Original file line number Diff line number Diff line change 44 push :
55 branches : [ main ]
66 pull_request :
7- branches : [ main ] # PRs cujo destino é main
8- workflow_dispatch : {} # opcional: permite rodar manualmente
7+ branches : [ main ]
8+ workflow_dispatch : {}
99
1010concurrency :
1111 group : ci-main-${{ github.ref }}
@@ -16,13 +16,24 @@ jobs:
1616 name : build-and-test (main)
1717 runs-on : ubuntu-latest
1818 steps :
19- - uses : actions/checkout@v4
20- - uses : actions/setup-node@v4
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+
22+ - name : Use Node.js 20
23+ uses : actions/setup-node@v4
2124 with :
2225 node-version : 20
23- - uses : pnpm/action-setup@v4
26+
27+ - name : Setup pnpm
28+ uses : pnpm/action-setup@v4
2429 with :
2530 run_install : false
26- - run : pnpm i
27- - run : pnpm build
28- - run : pnpm test
31+
32+ - name : Install (frozen lockfile)
33+ run : pnpm i --frozen-lockfile
34+
35+ - name : Build
36+ run : pnpm build
37+
38+ - name : Test
39+ run : pnpm test
You can’t perform that action at this time.
0 commit comments