File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 13
13
14
14
jobs :
15
15
ci :
16
- runs-on : upnpmtu -latest
16
+ runs-on : ubuntu -latest
17
17
steps :
18
18
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
19
19
with :
20
20
fetch-depth : 0
21
- - run : npm i -fg corepack && corepack enable
21
+
22
22
- uses : actions/setup-node@v4
23
23
with :
24
24
node-version : 24
25
25
cache : ' pnpm'
26
+
27
+ - run : corepack enable
26
28
- run : pnpm install
27
29
- run : pnpm run lint
28
30
- run : pnpm run build
31
+
29
32
- name : nightly release
30
- if : |
31
- github.ref_name == 'main' &&
32
- !contains(github.event.head_commit.message, '[skip-release]') &&
33
- !startsWith(github.event.head_commit.message, 'docs')
33
+ if : github.ref_name == 'main' &&
34
+ !contains(github.event.head_commit.message, '[skip-release]') &&
35
+ !startsWith(github.event.head_commit.message, 'docs')
34
36
run : |
35
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc &&
37
+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
36
38
pnpm run changelogen --canary nightly --publish
37
39
env :
38
40
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments