Skip to content

Commit

Permalink
Fix test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet committed Sep 20, 2024
1 parent 63bffb4 commit b86e7ea
Showing 1 changed file with 15 additions and 24 deletions.
39 changes: 15 additions & 24 deletions .github/workflows/CI-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,15 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Go to Playwright example
run: cd example-playwright

- name: Install of node dependencies
run: npm install

- name: Run tests
- name: Install dependencies and run tests
env:
RP_IS_DEMO: ${{ github.event.inputs.isDemo }}
DEMO_API_KEY: ${{ secrets.DEMO_API_KEY }}
DEV_API_KEY: ${{ secrets.DEV_API_KEY }}
run: npm run test:basic
run: |
cd example-playwright
npm install
npm run test:basic
test-on-windows:
runs-on: windows-latest
Expand All @@ -67,18 +64,15 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Go to Playwright example
run: cd example-playwright

- name: Install of node dependencies
run: npm install

- name: Run tests
- name: Install dependencies and run tests
env:
RP_IS_DEMO: ${{ github.event.inputs.isDemo }}
DEMO_API_KEY: ${{ secrets.DEMO_API_KEY }}
DEV_API_KEY: ${{ secrets.DEV_API_KEY }}
run: npm run test:basic
run: |
cd example-playwright
npm install
npm run test:basic
test-on-macos:
runs-on: macos-latest
Expand All @@ -94,15 +88,12 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Go to Playwright example
run: cd example-playwright

- name: Install of node dependencies
run: npm install

- name: Run tests
- name: Install dependencies and run tests
env:
RP_IS_DEMO: ${{ github.event.inputs.isDemo }}
DEMO_API_KEY: ${{ secrets.DEMO_API_KEY }}
DEV_API_KEY: ${{ secrets.DEV_API_KEY }}
run: npm run test:basic
run: |
cd example-playwright
npm install
npm run test:basic

0 comments on commit b86e7ea

Please sign in to comment.