mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-14 12:58:34 +00:00
af839e9609
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.2 to 4.0.3. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/60edb5dd545a775178f52524783378180af0d1f8...1e60f620b9541d16bece96c5465dc8ee9832be0b) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch ... 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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
|
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 }}
|