Update normal.yml #13
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: Normal | |
on: | |
push: | |
branches: [ "gh-pages" ] | |
pull_request: | |
branches: [ "gh-pages" ] | |
jobs: | |
normal-tests: | |
strategy: | |
matrix: | |
php-version: [ "8.2", "8.1", "8.0", "7.4" ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install PHP ${{ matrix.php-version }} | |
uses: shivammathur/[email protected] | |
with: | |
php-version: ${{ matrix.php-version }} | |
#extensions: mbstring | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "12.x" | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Copy .env | |
run: php -r "file_exists('.env') || copy('.env.example', '.env');" | |
- name: .Normal - Setup | |
run: git clone https://github.com/eustasy/.normal.git && cd .normal && git checkout af240a6c8960177bcb1d07815732df7eb15970c1 && cd ../ && npm install --silent -g npm && npm install --silent -g acorn | |
- name: .Normal - Check JavaScript | |
run: ./.normal/check-javascript.sh | |
- name: .Normal - Check PHP | |
run: ./.normal/check-php.sh | |
- name: .Normal - Check SQL | |
uses: Bidaya0/[email protected] | |
- name: .Normal - Check JSON | |
run: php .normal/check-json.php | |
- name: .Normal - Check XML | |
run: php .normal/check-xml.php |