name: Tests with Allure Report on: pull_request: branches: [main] permissions: pull-requests: write checks: write jobs: test: runs-on: ubuntu-latest steps: - name: Setup Apollo Git Bot id: bot-token uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.STUDIOCMS_GIT_BOT_APP_ID }} private-key: ${{ secrets.STUDIOCMS_GIT_BOT_PRIVATE_KEY }} - name: Checkout Repo uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false token: ${{ steps.bot-token.outputs.token }} - name: Install Tools & Dependencies uses: withstudiocms/automations/.github/actions/install@2f4fab1a66855feadec9e960bdbdc4368c23aa18 # main - name: Build packages run: pnpm ci:build - name: Run tests and generate report run: pnpm ci:test - name: Run Allure Action uses: allure-framework/allure-action@bd0373251ed3f1c5ac9aa44ac86ed40d839b3094 # v0.8.0 with: report-directory: "./allure-report" github-token: ${{ steps.bot-token.outputs.token }}