Skip to content

Commit 12236cd

Browse files
authored
fix: test/app/rp npm install failing (jazzband#1430)
1 parent 5185d20 commit 12236cd

File tree

6 files changed

+662
-226
lines changed

6 files changed

+662
-226
lines changed

.github/workflows/test.yml

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Test
33
on: [push, pull_request]
44

55
jobs:
6-
build:
7-
name: build (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }})
6+
test-package:
7+
name: Test Package (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }})
88
runs-on: ubuntu-latest
99
strategy:
1010
fail-fast: false
@@ -84,8 +84,40 @@ jobs:
8484
with:
8585
name: Python ${{ matrix.python-version }}
8686

87+
test-demo-rp:
88+
name: Test Demo Relying Party
89+
runs-on: ubuntu-latest
90+
strategy:
91+
fail-fast: false
92+
matrix:
93+
node-version:
94+
- "18.x"
95+
- "20.x"
96+
steps:
97+
- name: Checkout
98+
uses: actions/checkout@v4
99+
100+
- name: Set up NodeJS
101+
uses: actions/setup-node@v2
102+
with:
103+
node-version: ${{ matrix.node-version }}
104+
105+
- name: Install dependencies
106+
run: npm install
107+
working-directory: tests/app/rp
108+
109+
- name: Run Lint
110+
run: npm run lint
111+
working-directory: tests/app/rp
112+
113+
- name: Run build
114+
run: npm run build
115+
working-directory: tests/app/rp
116+
87117
success:
88-
needs: build
118+
needs:
119+
- test-package
120+
- test-demo-rp
89121
runs-on: ubuntu-latest
90122
name: Test successful
91123
steps:

0 commit comments

Comments
 (0)