DEV: Update CI workflows (#20)

Co-authored-by: discoursebuild <build@discourse.org>
This commit is contained in:
discoursebot 2022-06-17 15:36:27 -04:00 committed by GitHub
parent 47335003fd
commit 273f881b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 7 deletions

View File

@ -28,7 +28,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
build_type: ["backend", "frontend-legacy", "frontend"] build_type: ["backend", "frontend"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -137,7 +137,7 @@ jobs:
if: matrix.build_type == 'backend' && steps.check_spec.outputs.files_exist == 'true' if: matrix.build_type == 'backend' && steps.check_spec.outputs.files_exist == 'true'
run: bin/rake plugin:spec[${{ github.event.repository.name }}] run: bin/rake plugin:spec[${{ github.event.repository.name }}]
- name: Check qunit existence - name: Check QUnit existence
id: check_qunit id: check_qunit
shell: bash shell: bash
run: | run: |
@ -146,11 +146,6 @@ jobs:
fi fi
- name: Plugin QUnit - name: Plugin QUnit
if: matrix.build_type == 'frontend-legacy' && steps.check_qunit.outputs.files_exist == 'true'
run: QUNIT_EMBER_CLI=0 bundle exec rake plugin:qunit['${{ github.event.repository.name }}','1200000']
timeout-minutes: 10
- name: Plugin QUnit (Ember CLI)
if: matrix.build_type == 'frontend' && steps.check_qunit.outputs.files_exist == 'true' if: matrix.build_type == 'frontend' && steps.check_qunit.outputs.files_exist == 'true'
run: QUNIT_EMBER_CLI=1 bundle exec rake plugin:qunit['${{ github.event.repository.name }}','1200000'] run: QUNIT_EMBER_CLI=1 bundle exec rake plugin:qunit['${{ github.event.repository.name }}','1200000']
timeout-minutes: 10 timeout-minutes: 10