Skip to content

Add git support

Add git support #182

Workflow file for this run

name: linux-ui
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- uses: shogo82148/actions-setup-perl@v1
- uses: actions/setup-node@v2
with:
node-version: '20'
- name: node -v
run: which node; node -v; which npm; npm -v
- name: npm install
run: npm i
- name: Install playwright browsers
run: npx playwright install --with-deps
- name: perl -V
run: perl -V
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libmagic-dev ruby-sass openssh-client
cpanm -n https://github.com/openSUSE/Spooky-Patterns-XS/archive/1.55.tar.gz
cpanm -n --installdeps .
cpanm -n Test::Deep
- name: Build assets
env:
NODE_ENV: production
run: npm run build
- name: Run UI tests
env:
TEST_ONLINE: postgresql://postgres:postgres@localhost:5432/postgres
run: prove -l -v t/*.t.js
- name: Check assets
run: ls public/asset