pr-any.yml 385 B

12345678910111213141516
  1. name: PR
  2. on: [pull_request]
  3. jobs:
  4. pr:
  5. strategy:
  6. matrix:
  7. step: ['lint', 'lint:css', 'test', 'build:code', 'build:i18n', 'build:electron']
  8. name: ${{ matrix.step }}
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v1
  12. - name: ${{ matrix.step }}
  13. run: |
  14. yarn install --immutable | grep -v 'YN0013'
  15. yarn ${{ matrix.step }}