Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/esbuild-0.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego committed Jun 2, 2024
2 parents 5270e7a + f4bcc37 commit 8577b6a
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 57 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
if: |
(github.event.pull_request.head.repo.fork == true && github.event_name == 'pull_request_target') ||
(github.event.pull_request.head.repo.fork != true && github.event_name != 'pull_request_target')
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -42,17 +45,13 @@ jobs:
fi
- name: Analyze esbuild bundle size
uses: jenseng/dynamic-uses@5175289a9a87978dcfcb9cf512b821d23b2a53eb
if: github.event.pull_request.head.repo.full_name == github.repository
with:
uses: exoego/esbuild-bundle-analyzer@${{ github.sha }}
with: '{"metafiles": "tmp/meta.json"}'
- uses: actions/upload-artifact@v4
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
name: dist
path: dist
- uses: actions/upload-artifact@v4
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
name: action.yaml
path: action.yaml
name: distribution
path: |
dist/
action.yaml
Loading

0 comments on commit 8577b6a

Please sign in to comment.