This commit is contained in:
Milos Stojanovic 2019-12-25 15:12:36 +01:00
parent c9fbc7a819
commit a186c89481
2 changed files with 18 additions and 7 deletions

View File

@ -12,12 +12,16 @@ jobs:
node-version: [10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Checkout
uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run lint
npm run test:e2e

View File

@ -7,11 +7,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
strategy:
matrix:
php-version: ['7.1', '7.2', '7.3', '7.4']
- name: Validate composer.json and composer.lock
run: composer validate
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-version }}
- name: Install dependencies
run: composer install --no-interaction