mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
dbce1d5862
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.2 to 4.0.4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2.5.2...0a44ba7841725637a19e28fa30b79a866c81b0a6) --- updated-dependencies: - dependency-name: actions/setup-node 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>
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
name: E2E UI
|
|
|
|
on: [pull_request]
|
|
permissions:
|
|
contents: read
|
|
concurrency:
|
|
group: e2e-ui-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
name: UI Test E2E
|
|
services:
|
|
verdaccio:
|
|
image: verdaccio/verdaccio:5
|
|
ports:
|
|
- 4873:4873
|
|
env:
|
|
NODE_ENV: production
|
|
steps:
|
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
|
|
- name: Use Node
|
|
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v3
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- name: Install pnpm
|
|
run: |
|
|
corepack enable
|
|
corepack prepare
|
|
- name: Install
|
|
run: pnpm install --reporter=silence --registry http://localhost:4873
|
|
- name: build
|
|
run: pnpm build
|
|
- name: Test UI
|
|
run: pnpm test:e2e:ui
|
|
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
|
|
with:
|
|
name: videos
|
|
path: /home/runner/work/verdaccio/verdaccio/e2e/ui/cypress/videos
|