-
Notifications
You must be signed in to change notification settings - Fork 12
42 lines (39 loc) · 997 Bytes
/
ci.yml
File metadata and controls
42 lines (39 loc) · 997 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
36
37
38
39
40
41
42
name: 'CI'
on:
push:
branches:
- master
pull_request:
jobs:
ci:
needs: [test]
runs-on: ubuntu-latest
steps:
- run: true
test:
name: npm run ${{ matrix.npmcmd }}
runs-on: ubuntu-latest
strategy:
matrix:
npmcmd: ['test']
steps:
- uses: actions/checkout@v4
- name: Configure
run: |
git config --global user.email uirouter@github.actions
git config --global user.name uirouter_github_actions
- name: Install Dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install chromium
- name: Check Peer Dependencies
run: npx check-peer-dependencies
- name: Run Tests
run: npm run ${{ matrix.npmcmd }}
- name: Upload Playwright Report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30