Files
ipwa/.gitea/workflows/test.yaml
Jan Szumotalski 2e42f65d88
Some checks failed
IPWA Tests / Run Angular tests (22) (push) Failing after 4m3s
actions: add chrome path
2025-06-19 10:18:20 +02:00

31 lines
818 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: Run tests
run: npm run ci
environment:
CHROMIUM_BIN: ${{steps.setup-chrome.outputs.chrome-path}}