Some checks failed
IPWA Tests / Run Angular tests (22) (push) Failing after 2m16s
36 lines
968 B
YAML
36 lines
968 B
YAML
name: IPWA Tests
|
|
run-name: ${{ gitea.actor }} is testing out IPWA
|
|
on: [push]
|
|
|
|
jobs:
|
|
Run Angular tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [22]
|
|
steps:
|
|
- name: Checkout source code
|
|
uses: actions/checkout@v4
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{matrix.node-version}}
|
|
cache: 'npm'
|
|
cache-dependency-path: package-lock.json
|
|
- name: Setup Chrome
|
|
uses: browser-actions/setup-chrome@v1.7.3
|
|
id: setup-chrome
|
|
with:
|
|
install-dependencies: true
|
|
- name: Install node dependencies
|
|
run: npm ci
|
|
- name: Echo chrome path
|
|
run: |
|
|
echo "$CHROMIUM_BIN"
|
|
env:
|
|
CHROMIUM_BIN: ${{steps.setup-chrome.outputs.chrome-path}}
|
|
- name: Run tests
|
|
run: npm run ci
|
|
env:
|
|
CHROMIUM_BIN: ${{steps.setup-chrome.outputs.chrome-path}}
|