Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .github/workflows/pr-diff-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,31 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'

- name: Checkout
uses: actions/checkout@v4
cache: 'pnpm'

- name: Install Dependencies
run: npm ci --include=dev
- name: Install dependencies
run: pnpm install

- name: Prepate report path
run: echo "SIZE_REPORT_OUTPUT=$RUNNER_TEMP/comment-${{ github.event.pull_request.number }}.md" >> $GITHUB_ENV

- name: Run size comparison
run: npm run size-report
run: pnpm size-report
env:
NODE_ENV: production
SKIP_GIT_TAG_RESOLUTION: true

- name: Comment PR
uses: actions/github-script@v7
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,26 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"

- name: Checkout
uses: actions/checkout@v4
node-version: '24'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'

- name: Install dependencies
run: npm i
run: pnpm install

- name: Build packages
run: npm run build
run: pnpm build

- name: Publish packages
run: npm publish --access public
Expand Down
9 changes: 0 additions & 9 deletions CHANGELOG.md

This file was deleted.

Loading
Loading