wip
This commit is contained in:
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@@ -1,10 +1,16 @@
|
|||||||
name: Main
|
name: Main
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
node:
|
node:
|
||||||
name: Node ${{ matrix.node }} - ${{ runner.os }}
|
name: Test Node ${{ matrix.node }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -14,7 +20,7 @@ jobs:
|
|||||||
- name: Checkout the project
|
- name: Checkout the project
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup the Node ${{ matrix.node }} environment
|
- name: Setup the Node ${{ matrix.node }} environment on ${{ runner.os }}
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
@@ -43,7 +49,7 @@ jobs:
|
|||||||
cat public/mix-manifest.json
|
cat public/mix-manifest.json
|
||||||
|
|
||||||
php:
|
php:
|
||||||
name: PHP ${{ matrix.php }} - ${{ runner.os }}
|
name: Test PHP ${{ matrix.php }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -53,7 +59,7 @@ jobs:
|
|||||||
- name: Checkout the project
|
- name: Checkout the project
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup the PHP ${{ matrix.php }} environment
|
- name: Setup the PHP ${{ matrix.php }} environment on ${{ runner.os }}
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
|
|||||||
Reference in New Issue
Block a user