File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 32
32
- run : pnpm lint
33
33
- run : pnpm test
34
34
- run : pnpm build
35
- - name : publish nightly release
36
- if : github.event_name == 'pull_request'
37
- run : pnpm pkg-pr-new publish --compact
38
35
- run : pnpm test:types
39
36
- run : pnpm dev:build
40
37
- uses : codecov/codecov-action@v5
Original file line number Diff line number Diff line change 8
8
permissions : {}
9
9
10
10
jobs :
11
+ release-pr :
12
+ runs-on : ubuntu-latest
13
+ if : ${{ github.event_name == 'pull_request' }}
14
+ steps :
15
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16
+ - run : corepack enable
17
+ - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
18
+ with :
19
+ node-version : 20
20
+ cache : " pnpm"
21
+
22
+ - name : Install dependencies
23
+ run : pnpm install
24
+
25
+ - name : Prepare build environment
26
+ run : pnpm dev:prepare
27
+
28
+ - run : pnpm build
29
+
30
+ - name : publish nightly release
31
+ if : github.event_name == 'pull_request'
32
+ run : pnpm pkg-pr-new publish --compact
33
+
11
34
release :
12
35
runs-on : ubuntu-latest
13
36
if : ${{ github.repository_owner == 'nuxt' && github.event_name == 'push' }}
You can’t perform that action at this time.
0 commit comments