-
-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (37 loc) · 1.01 KB
/
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
name: ci
on:
push:
branches: [ main ]
pull_request:
branches:
- '**'
paths-ignore:
- '**/**.md'
jobs:
run-parse-server-ci:
name: CI of Parse Server ${{ matrix.version }}
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
matrix:
version: ['5.6.0', '6.3.1']
steps:
- name: Checkout parse-server ${{ matrix.version }}
uses: actions/checkout@v2
with:
repository: parse-community/parse-server
ref: ${{ matrix.version }}
path: parse-server
# - name: Run CI workflow of Parse Server
# uses: actions/github-script@v6
# with:
# script: |
# const fs = require('fs');
# const yaml = require('js-yaml');
# const path = './parse-server/.github/workflows/ci.yml';
# const ciConfig = yaml.load(fs.readFileSync(path, 'utf8'));
# console.log(ciConfig);
# return ciConfig;
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true