添加自定义gravatar镜像的环境变量 #274
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, pull_request] | |
jobs: | |
php-lint: | |
name: PHP Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.0 | |
coverage: none | |
- name: Install dependencies | |
run: composer install | |
- name: Check coding style | |
run: ./vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --diff --format=txt | |
tsc: | |
name: Front-end Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: 7.26.0 | |
run_install: true | |
- name: Lint | |
run: pnpm lint |