Version Packages #378
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
# Runs c3 e2e tests on pull requests with c3 changes | |
name: C3 E2E Tests | |
on: | |
pull_request: | |
paths: | |
- packages/create-cloudflare/** | |
env: | |
node-version: 18.17.1 | |
bun-version: 1.0.3 | |
jobs: | |
e2e: | |
timeout-minutes: 30 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.pm }} | |
cancel-in-progress: true | |
name: ${{ format('E2E ({0})', matrix.pm) }} | |
if: github.repository_owner == 'cloudflare' && github.event.pull_request.user.login != 'dependabot[bot]' | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
pm: [npm, pnpm, bun, yarn] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: E2E Tests | |
uses: ./.github/actions/run-c3-e2e | |
env: | |
NPM_PUBLISH_TOKEN: NOT_USED | |
with: | |
package-manager: ${{ matrix.pm }} | |
quarantine: false | |
accountId: ${{ secrets.C3_TEST_CLOUDFLARE_ACCOUNT_ID }} | |
apiToken: ${{ secrets.C3_TEST_CLOUDFLARE_API_TOKEN }} |