repod/.gitea/workflows/repod.yml
Michel Roux d1fcdbbe10
All checks were successful
repod / nextcloud (push) Successful in 1m47s
repod / nodejs (push) Successful in 2m25s
Update deps
2023-07-18 20:58:57 +02:00

36 lines
1.0 KiB
YAML

name: repod
on: [push]
jobs:
nextcloud:
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
nodejs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: skjnldsv/read-package-engines-version-actions@v2
id: versions
with:
fallbackNode: '^20.0.0'
fallbackNpm: '^9.0.0'
- uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- run: npm i -g npm@${{ steps.versions.outputs.npmVersion }}
- run: npm ci
- run: npm run lint
- run: npm run stylelint
- run: npm run build