feat: set the injected snippet as a ref to get it sync when it changes #15862
Workflow file for this run
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: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Run lint | |
run: pnpm run lint | |
- name: Run tests | |
run: pnpm run test:unit | |
- name: Run e2e tests | |
timeout-minutes: 15 | |
uses: ./.github/actions/run-e2e-tests | |
- name: release | |
if: | |
${{ github.ref_name == 'main' && github.actor != 'support-empathy' && | |
!startsWith(github.event.head_commit.message, 'chore(release):') }} | |
uses: ./.github/actions/release-alpha | |
with: | |
npm_token: ${{ secrets.NPM_TOKEN_GRANULAR_ACCESS }} | |
github_token: ${{ secrets.SUPPORT_TOKEN }} |