Skip to content

Commit

Permalink
Updated Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
AhashSritharan committed Oct 26, 2023
1 parent d35a8cb commit 5af1363
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/XrmEx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,15 @@ env:
jobs:
XrmEx:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.39.0-jammy

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history

- name: Install dependencies
run: npm ci
- uses: volta-cli/action@v3
- run: npm ci

- name: Dependencies audit
run: npm audit --audit-level=moderate
Expand All @@ -34,6 +29,17 @@ jobs:
- name: Lint check
run: npm run lint:check

- name: Setup Node.js for Playwright
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install dependencies for Playwright
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Run Playwright tests
run: |
if [ "${{ github.repository }}" == "AhashSritharan/Xrm-Ex" ]; then
Expand Down

0 comments on commit 5af1363

Please sign in to comment.