refactor(types): remove unnecessary types #19736
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: | |
# Use GitHub App token as a workaround to allow bypassing branch-protection rules | |
# https://github.com/orgs/community/discussions/13836#discussioncomment-8535364 | |
- uses: actions/create-github-app-token@v1 | |
id: app-token | |
with: | |
app-id: ${{ vars.GH_TOKENS_APP_ID }} | |
private-key: ${{ secrets.GH_TOKENS_APP_PRIVATE_KEY }} | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ steps.app-token.outputs.token }} | |
fetch-depth: 0 | |
- 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: ${{ steps.app-token.outputs.token }} |