-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 920 Bytes
/
ci.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI
on:
workflow_dispatch:
workflow_call:
push:
branches:
- main
- release
pull_request:
types:
- opened
- ready_for_review
- synchronize
# Only run on a given PR if relevant files have changed.
# (Both Node and PHP tasks will be dispatched, but they will exit early if
# relevant files for that language are not altered within the PR.)
paths:
- '**.js'
- '**.jsx'
- '**.php'
- '.babelrc.js'
- '.eslintrc'
- '.eslintignore'
- 'composer.json'
- 'composer.lock'
- 'package.json'
- 'package-lock.json'
- 'phpcs.xml'
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
node:
uses: ./.github/workflows/node.yml
secrets: inherit
# php:
# uses: ./.github/workflows/php.yml
# secrets: inherit