Bump highlight.js from 11.10.0 to 11.11.1 #108
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- master | |
pull_request: null | |
env: | |
CI: true | |
concurrency: | |
group: ci-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Lint | |
run: pnpm run lint | |
test: | |
name: ${{matrix.workspace}} Test (${{ matrix.node-version }}) | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
node-version: [18, 20] | |
workspace: | |
- docs | |
- test-app | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run Tests | |
run: pnpm --filter ${{matrix.workspace}} exec ember test | |
percy: | |
name: Percy Visual Tests | |
runs-on: ubuntu-latest | |
env: | |
PERCY_TOKEN: web_6187ea321b25c1a82793dc19185fba93eb49336654f2284e4e08e9794e7d66c6 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- run: pnpm install --frozen-lockfile | |
- name: Start the Percy Server | |
run: pnpm --filter test-app exec percy exec:start & | |
- run: pnpm --filter test-app run test:ember | |
- run: pnpm --filter docs run test:ember | |
- name: Stop Percy and Finalize Tests | |
run: pnpm --filter test-app exec percy exec:stop | |
floating: | |
name: Floating Dependencies | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- run: pnpm install --no-lockfile | |
- name: Run Tests | |
run: pnpm --filter test-app exec ember test | |
try-scenarios: | |
name: ${{ matrix.try-scenario }} | |
runs-on: ubuntu-latest | |
needs: test | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
try-scenario: | |
- ember-lts-4.12 | |
- ember-lts-5.4 | |
- ember-release | |
- ember-beta | |
- ember-canary | |
- embroider-safe | |
- embroider-optimized | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- run: pnpm install --frozen-lockfile | |
- name: Run Tests | |
working-directory: ./packages/test-app | |
run: node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup |