-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
25 lines (21 loc) · 626 Bytes
/
Copy pathci.yml
File metadata and controls
25 lines (21 loc) · 626 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: CI
on:
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
submodules: recursive # ESLint checks adminer/static/jush, otherwise it would silently find no files there
- uses: php-actions/composer@v6
- run: composer test
- uses: actions/setup-node@v7
with:
node-version: lts/*
- run: npm install --no-save --prefix . eslint @eslint/js globals # composer install runs in a container without npm
- run: composer check