diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 260f1c0..e572ba3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,14 +57,11 @@ jobs: - ember-lts-3.24 - ember-lts-3.28 - ember-release - - ember-beta - - ember-canary - ember-default-with-jquery - ember-classic - embroider-safe - embroider-optimized - no-deprecations - - ember-release-no-deprecations steps: - uses: actions/checkout@v2 @@ -78,3 +75,39 @@ jobs: - name: test run: npx ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup + + allow-fail-try-scenarios: + name: ${{ matrix.try-scenario }} - Allowed to fail + runs-on: ubuntu-latest + needs: 'test' + + permissions: + pull-requests: write + + strategy: + fail-fast: false + matrix: + try-scenario: + - ember-canary + - ember-beta + - ember-release-no-deprecations + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v3 + with: + node-version: 14.x + cache: npm + - run: npm i -g npm@8 + - run: npm ci + + - run: npm run build + - name: test + id: tests + run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup + continue-on-error: true + - uses: mainmatter/continue-on-error-comment@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + outcome: ${{ steps.tests.outcome }} + test-id: ${{ matrix.try-scenario }} diff --git a/addon/components/on-this-page.hbs b/addon/components/on-this-page.hbs new file mode 100644 index 0000000..eaddc33 --- /dev/null +++ b/addon/components/on-this-page.hbs @@ -0,0 +1,14 @@ +{{#if @toc}} +