-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (27 loc) · 767 Bytes
/
Copy pathtest.yml
File metadata and controls
36 lines (27 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: 🧪 CI Test Suite
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-latest
# Set to look inside your exact capitalized repository directory name
defaults:
run:
working-directory: Iam_not_a_robot
steps:
- name: 📁 Checkout Repository
uses: actions/checkout@v4
- name: 🟢 Setup Node.js (Modern OS Compliant)
uses: actions/setup-node@v4
with:
node-version: 24
- name: 🛠️ Install Project Dependencies
run: npm install
- name: 🎭 Install Playwright Chromium
run: npx playwright install chromium
- name: 🚀 Run Tests
run: npm test