repod/.gitea/workflows/repod.yml
Michel Roux 6969cf052b
All checks were successful
repod / nextcloud-22 (push) Successful in 1m14s
repod / nextcloud-27 (push) Successful in 46s
repod / nodejs (push) Successful in 2m3s
Fix deps and CI
2023-06-27 14:47:16 +02:00

41 lines
1.1 KiB
YAML

name: repod
on: [push]
jobs:
nextcloud-22:
runs-on: ubuntu-latest
container: nextcloud:25
steps:
- run: apt-get update
- run: apt-get install -y git nodejs
- uses: actions/checkout@v3
- run: curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar
- run: chmod +x /usr/local/bin/composer
- run: composer install
- run: composer run lint
- run: composer run cs:check
- run: composer run psalm:check
nextcloud-27:
runs-on: ubuntu-latest
container: nextcloud:27.0.0
steps:
- run: apt-get update
- run: apt-get install -y git nodejs
- uses: actions/checkout@v3
- run: curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar
- run: chmod +x /usr/local/bin/composer
- run: composer install
- run: composer run lint
- run: composer run cs:check
- run: composer run psalm:check
nodejs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm i
- run: npm run lint
- run: npm run stylelint
- run: npm run build