Upgrade Ember #118
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: | |
pull_request: | |
push: | |
# filtering branches here prevents duplicate builds from pull_request and push | |
branches: | |
- main | |
- 'v*' | |
# always run CI for tags | |
tags: | |
- '*' | |
# early issue detection: run CI weekly on Sundays | |
# schedule: | |
# - cron: '0 6 * * 0' | |
env: | |
CI: true | |
jobs: | |
lint-js: | |
name: Lint (JS) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Lint | |
run: pnpm run lint:js | |
working-directory: web | |
lint-types: | |
name: Lint (Types) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Lint | |
run: pnpm run lint:types | |
working-directory: web | |
lint-css: | |
name: Lint (CSS) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Lint | |
run: pnpm run lint:css | |
working-directory: web | |
lint-hbs: | |
name: Lint (HBS) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Lint | |
run: pnpm run lint:hbs | |
working-directory: web | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | |
uses: ./.github/actions/setup | |
# - name: Lint JS | |
# run: pnpm run -r --parallel --aggregate-output lint:js | |
# - name: Lint Types | |
# run: pnpm run -r --parallel --aggregate-output lint:types | |
# - name: Lint Handlebars | |
# run: pnpm run -r --parallel --aggregate-output lint:hbs | |
- name: Tests | |
run: pnpm run test | |
working-directory: web |