Skip to content

Commit 0731a32

Browse files
authored
chore: update ci (#192)
1 parent 14b5b83 commit 0731a32

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,28 @@ on:
1313

1414
jobs:
1515
ci:
16-
runs-on: upnpmtu-latest
16+
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919
with:
2020
fetch-depth: 0
21-
- run: npm i -fg corepack && corepack enable
21+
2222
- uses: actions/setup-node@v4
2323
with:
2424
node-version: 24
2525
cache: 'pnpm'
26+
27+
- run: corepack enable
2628
- run: pnpm install
2729
- run: pnpm run lint
2830
- run: pnpm run build
31+
2932
- 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')
3436
run: |
35-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc &&
37+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
3638
pnpm run changelogen --canary nightly --publish
3739
env:
3840
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)