adds the test workflow
هذا الالتزام موجود في:
18
.github/workflows/push-pr.yml
مباع
Normal file
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
|
المرجع في مشكلة جديدة
حظر مستخدم