Skip to content

Commit

Permalink
Improve workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Dec 14, 2024
1 parent 31d2ca1 commit fb2c598
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Node.js Build

on:
- push
- pull_request
on: [ push, pull_request ]

jobs:
cache-and-install:
build:
# Only run on PRs if the source branch is on someone else's repo
if: "${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}"

runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit fb2c598

Please sign in to comment.