File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
- name : publish
1
+ name : Publish Package (nightly)
2
+
3
+ # https://docs.npmjs.com/trusted-publishers
2
4
3
5
on :
4
6
push :
5
7
branches :
6
8
- main
9
+ # tags:
10
+ # - 'v*'
7
11
8
12
permissions :
9
13
id-token : write # Required for OIDC
10
14
contents : read
11
15
12
16
jobs :
13
- ci :
17
+ publish :
14
18
runs-on : ubuntu-latest
15
19
steps :
16
20
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17
21
with :
18
22
fetch-depth : 0
19
-
20
23
- run : npm i -fg corepack && corepack enable
21
24
- uses : actions/setup-node@v4
22
25
with :
23
26
node-version : 24
24
27
cache : ' pnpm'
25
28
26
- - run : corepack enable
27
- - run : pnpm install
28
- - run : pnpm run lint
29
- - run : pnpm run build
29
+ - run : corepack enable && pnpm install
30
30
- name : publish
31
- run : |
32
- pnpm changelogen --canary nightly --bump
33
- npm publish
31
+ run : pnpm changelogen --canary nightly --bump && npm publish --tag main
You can’t perform that action at this time.
0 commit comments