adds the test workflow

هذا الالتزام موجود في:
2025-09-28 17:49:10 +03:00
الأصل d32b3ac426
التزام 814a655262
2 ملفات معدلة مع 21 إضافات و3 حذوفات

عرض الملف

@@ -7,13 +7,13 @@ on:
jobs: jobs:
example-job: example-job:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: print a welcome message - name: print a welcome message
run: echo "welcome to our first github actions workflow" run: echo "welcome to our first github actions workflow"
- name: checkout repository - name: checkout repository
uses: actions/checkout@v5.0.0 uses: actions/checkout@v5.0.0
- name: List repository files - name: List repository files
run: ls -la run: ls -la

18
.github/workflows/push-pr.yml مباع Normal file
عرض الملف

@@ -0,0 +1,18 @@
on:
push:
branches:
- main
- "release/**"
pull_request:
branches:
- main
- "release/**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5.0.0
- name: Run tests
run: npm test