Skip to content

chore: workflow to upload theme directory artifact #28

chore: workflow to upload theme directory artifact

chore: workflow to upload theme directory artifact #28

Workflow file for this run

name: Linting Scripts
on:
push:
branches: [main]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install PHP dependencies with Composer
uses: php-actions/composer@v6
with:
php_version: '8.1'
version: 2.x
- name: Install npm dependencies
run: npm ci
- name: Lint
run: npm run lint
env:
CI: true