Merge @handlebars/parser into @glimmer/syntax #12979
Workflow file for this run
This file contains hidden or 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: | |
| push: | |
| branches: | |
| - main | |
| - beta | |
| - release | |
| # release branches | |
| - release* | |
| - lts* | |
| # nightly ci cron branches | |
| - cron* | |
| paths-ignore: | |
| - 'CHANGELOG.md' | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| tests: | |
| uses: ./.github/workflows/ci-jobs.yml | |
| publish: | |
| name: Publish channel to s3 | |
| runs-on: ubuntu-latest | |
| needs: [ tests ] | |
| # Only run on pushes to branches that are not from the cron workflow | |
| if: github.event_name == 'push' && contains(github.ref, 'cron') != true | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 # zizmor: ignore[artipacked] creds are used for build-for-publishing.js | |
| - uses: ./.github/actions/setup | |
| - name: build for publish | |
| run: node bin/build-for-publishing.js | |
| - name: publish to s3 | |
| run: node bin/publish-to-s3.mjs | |
| env: | |
| S3_BUCKET_NAME: 'builds.emberjs.com' | |
| S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY}} | |
| S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID}} | |
| publish-alpha: | |
| name: Publish alpha from default branch | |
| runs-on: ubuntu-latest | |
| needs: [ tests ] | |
| # Only run on pushes to main | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 # zizmor: ignore[artipacked] creds are used for build-for-publishing.js | |
| - uses: ./.github/actions/setup | |
| - name: build for publish | |
| run: node bin/build-for-publishing.js | |
| - name: publish to s3 | |
| run: node bin/publish-to-s3.mjs | |
| env: | |
| BUILD_TYPE: alpha | |
| OVERRIDE_FEATURES: '' | |
| S3_BUCKET_NAME: 'builds.emberjs.com' | |
| S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY}} | |
| S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID}} | |
| notify: | |
| name: Notify Discord | |
| runs-on: ubuntu-latest | |
| needs: [ tests ] | |
| if: failure() && contains(github.ref, 'cron') == true | |
| steps: | |
| - uses: sarisia/actions-status-discord@eb045afee445dc055c18d3d90bd0f244fd062708 # v1.16.0 | |
| with: | |
| webhook: ${{ secrets.FRAMEWORK_WEBHOOK }} | |
| status: 'Failure' | |
| title: 'Ember.js Nightly CI' | |
| color: 0xcc0000 | |
| url: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}' | |
| username: GitHub Actions |