Skip to content

Commit

Permalink
Change 'on' attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mbraak committed Aug 12, 2023
1 parent 04f6cd5 commit 0febaa0
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: Compressed Size
on: [push]
on: [pull_request]

jobs:
runner-job:
runs-on: ubuntu-latest
runner-job:
runs-on: ubuntu-latest

steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install pnpm
run: npm install -g pnpm
- name: Install packages
run: pnpm install
- name: Check compressed size
uses: preactjs/compressed-size-action@v2
with:
build-script: "production"
pattern: "./lib/**/*.js"
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install pnpm
run: npm install -g pnpm
- name: Install packages
run: pnpm install
- name: Check compressed size
uses: preactjs/compressed-size-action@v2
with:
build-script: "production"
pattern: "./lib/**/*.js"

0 comments on commit 0febaa0

Please sign in to comment.