Skip to content

Commit

Permalink
chore(.github/workflows): unify format style (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukvvon authored Dec 13, 2024
1 parent d6efc46 commit 2e17d3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/compressed-size-action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: Compressed Size

on: [ pull_request ]
on: [pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
Expand All @@ -17,4 +15,4 @@ jobs:
cache-dependency-path: '**/pnpm-lock.yaml'
- uses: preactjs/compressed-size-action@v2
with:
pattern: "./dist/**/*.{js,mjs}"
pattern: './dist/**/*.{js,mjs}'
15 changes: 4 additions & 11 deletions .github/workflows/cr.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,17 @@
name: Publish Any Commit

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

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

- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- run: pnpm install
- run: pnpm build
- run: pnpx pkg-pr-new publish './dist' --compact --template './examples/*'

0 comments on commit 2e17d3b

Please sign in to comment.