Skip to content

Update actions/checkout action to v4 #415

Update actions/checkout action to v4

Update actions/checkout action to v4 #415

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
php-versions: ['7.4', '8.0']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Setup PHP Action
uses: shivammathur/setup-php@v3
with:
php-version: ${{ matrix.php-versions }}
ini-values: short_open_tag=On, error_reporting=E_ALL & ~E_NOTICE
- run: npm ci
- run: npm run lint
- run: npm run coverage
- run: npm run codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}