Improved Executable Argument Parsing #169
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
linux: | |
name: Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install Node Dependencies | |
run: npm install | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: latest | |
- name: Install Composer Dependencies | |
run: composer install | |
- name: Lint JavaScript | |
run: npm run lint | |
- name: Lint PHP | |
run: composer run-script lint | |
- name: Unit Tests | |
run: npm run test | |
windows: | |
name: Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install Node Dependencies | |
run: npm install | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: latest | |
- name: Install Composer Dependencies | |
run: composer install | |
- name: Lint JavaScript | |
run: npm run lint | |
- name: Lint PHP | |
run: composer run-script lint | |
- name: Unit Tests | |
run: npm run test |