mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-15 16:58:43 +00:00
3db96e69c9
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/f43a0e5ff2bd294095638e18286ca9a3d1956744...3df4ab11eba7bda6032a0b82a6bb43b11571feac) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
37 lines
914 B
YAML
37 lines
914 B
YAML
name: Test Deployment
|
|
on:
|
|
deployment_status:
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
e2eTests:
|
|
if:
|
|
github.repository == 'anuraghazra/github-readme-stats' &&
|
|
github.event_name == 'deployment_status' &&
|
|
github.event.deployment_status.state == 'success'
|
|
name: Perform 2e2 tests
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [18.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: npm
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
env:
|
|
CI: true
|
|
|
|
- name: Run end-to-end tests.
|
|
run: npm run test:e2e
|
|
env:
|
|
VERCEL_PREVIEW_URL: ${{ github.event.deployment_status.target_url }}
|