ci: fix duplicate jobs on prs

This commit is contained in:
Julian Tölle 2023-05-07 13:54:51 +02:00
parent 23de660f8b
commit 4da01e1d83
2 changed files with 3 additions and 4 deletions

View file

@ -3,7 +3,6 @@ name: CI
on:
push:
workflow_call:
pull_request:
jobs:
api:
@ -23,7 +22,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- run: npm ci
- run: npm run build
@ -52,7 +51,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- run: npm ci