Skip to content

Commit

Permalink
chore: trigger on pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanelly95 committed Sep 19, 2024
1 parent 6a3f00b commit 334e803
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,23 @@ on:
workflow_dispatch:
push:
branches: ["master"]
pull_request_target:
pull_request:
branches: ["master"]

jobs:
tests:
runs-on: self-hosted

strategy:
matrix:
node-version: [20.x] # Updated to a more recent LTS version

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 20
cache: "npm"

- name: Install Dependencies
Expand Down

0 comments on commit 334e803

Please sign in to comment.