File tree 1 file changed +12
-27
lines changed
1 file changed +12
-27
lines changed Original file line number Diff line number Diff line change 1
- name : Publish nuxt-component-meta (Nightly)
1
+ name : ci
2
2
on :
3
3
push :
4
4
branches :
5
5
- main
6
+ pull_request :
7
+ branches :
8
+ - main
6
9
jobs :
7
10
nightly :
8
- strategy :
9
- matrix :
10
- os : [ubuntu-latest]
11
- node : [20]
12
-
13
- runs-on : ${{ matrix.os }}
14
- permissions :
15
- id-token : write
11
+ runs-on : ubuntu-latest
16
12
steps :
17
- - name : Checkout
18
- uses : actions/checkout@v4 # v4
19
- - name : Add pnpm
20
- run : corepack enable
13
+ - uses : actions/checkout@v4
21
14
- uses : actions/setup-node@v4
22
15
with :
23
- node-version : 20
24
- registry-url : " https://registry.npmjs.org/"
25
- cache : " pnpm"
26
- - name : Install dependencies
27
- run : pnpm install
28
- - name : Prepare
29
- run : pnpm dev:prepare
30
- - name : Test
31
- run : pnpm test
32
- - name : Release Nightly
33
- run : pnpm changelogen --bump --canary --publish --publishTag nightly
34
- env :
35
- NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
36
- NPM_CONFIG_PROVENANCE : true
16
+ node-version : ' 20'
17
+ - run : corepack enable
18
+ - run : pnpm install
19
+ - run : pnpm dev:prepare
20
+ - run : pnpm test
21
+ - run : pnpx pkg-pr-new publish --compact --no-template --pnpm
You can’t perform that action at this time.
0 commit comments