Skip to content

Commit b64ffb4

Browse files
committed
Enable prs test
1 parent 755b81a commit b64ffb4

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
run: npm test
2424
env:
2525
PAT_1: ${{ secrets.GITHUB_TOKEN }}
26-
GITHUB_REPOSITORY_OWNER: "rickstaa"
26+
GITHUB_REPOSITORY_OWNER: "Daraan"

.github/workflows/prs-unit.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: PRS Unit Tests
2+
3+
on:
4+
push:
5+
paths:
6+
- prs.js
7+
- index.js
8+
- action.yml
9+
workflow_dispatch:
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 22
19+
- name: Install dependencies
20+
run: npm ci --ignore-scripts
21+
shell: bash
22+
- name: Run prs.js unit tests
23+
run: npm test tests/prs.test.js
24+
shell: bash

0 commit comments

Comments
 (0)