Skip to content

Commit 6fd8a40

Browse files
committed
ci: add pkg.new
1 parent abb731b commit 6fd8a40

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Release Commit
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
permissions:
9+
pull-requests: write
10+
11+
jobs:
12+
release:
13+
name: Release Commit
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
19+
20+
- run: corepack enable
21+
22+
- name: Setup Node
23+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
24+
with:
25+
cache: 'yarn'
26+
check-latest: true
27+
node-version: '24.x'
28+
29+
- name: Install dependencies
30+
run: yarn install
31+
32+
- name: Build
33+
run: yarn run build:packages
34+
35+
- name: Publish
36+
id: publish
37+
run: >
38+
yarn dlx pkg-pr-new publish
39+
./packages/toolkit
40+
./packages/rtk-query-graphql-request-base-query
41+
./packages/rtk-query-codegen-openapi
42+
./packages/rtk-codemods
43+
--yarn --packageManager="npm,yarn,pnpm,bun" --commentWithDev

0 commit comments

Comments
 (0)