Skip to content

chore: Add dependabot.yml to update NPM and Composer. (#67) #69

chore: Add dependabot.yml to update NPM and Composer. (#67)

chore: Add dependabot.yml to update NPM and Composer. (#67) #69

Workflow file for this run

name: Test Extension
on:
push:
branches:
- master
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '16.14.2'
- run: mkdir artifacts
- run: npm ci
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer
- name: Composer Install
run: composer install --prefer-dist --no-interaction --optimize-autoloader --no-dev
- name: Prettier
run: npm run prettier-check
- name: Lint
run: npm run eslint
- run: xvfb-run -a npm test