Skip to content

Commit

Permalink
ci: run pipeline on pull requests and move compressed size job to mai…
Browse files Browse the repository at this point in the history
…n ci workflow
  • Loading branch information
nerdyman committed Nov 16, 2023
1 parent b6a872d commit 8a478f0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
name: ci
on: [push]

on:
push:
branches: [main]
pull_request:
types:
- opened
- synchronize
workflow_dispatch:

jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
Expand Down Expand Up @@ -38,3 +47,8 @@ jobs:
uses: paambaati/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: '${{ secrets.CC_TEST_REPORTER_ID }}'

- uses: preactjs/compressed-size-action@v2
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
build-script: 'build'
12 changes: 0 additions & 12 deletions .github/workflows/size.yml

This file was deleted.

0 comments on commit 8a478f0

Please sign in to comment.