test(e2e): use yarn to pack (#16291)

This commit is contained in:
Michael Kriese 2022-06-27 22:23:24 +02:00 committed by GitHub
parent 787c98cdbe
commit fa18c74f94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -10,6 +10,7 @@
/package-lock.json /package-lock.json
*.pyc *.pyc
renovate-0.0.0-semantic-release.tgz renovate-0.0.0-semantic-release.tgz
renovate-v0.0.0-semantic-release.tgz
/test/e2e/node_modules /test/e2e/node_modules
.eslintcache .eslintcache
junit.xml junit.xml

View file

@ -47,7 +47,7 @@
"start": "node -r ts-node/register/transpile-only -- lib/renovate.ts", "start": "node -r ts-node/register/transpile-only -- lib/renovate.ts",
"test": "run-s lint test-schema type-check strict-check jest", "test": "run-s lint test-schema type-check strict-check jest",
"test-dirty": "git diff --exit-code", "test-dirty": "git diff --exit-code",
"test-e2e": "npm pack && cd test/e2e && yarn install --no-lockfile --ignore-optional --prod && yarn test", "test-e2e": "yarn pack && cd test/e2e && yarn install --no-lockfile --ignore-optional --prod && yarn test",
"test-schema": "run-s create-json-schema", "test-schema": "run-s create-json-schema",
"tsc": "tsc", "tsc": "tsc",
"type-check": "run-s generate:* \"tsc --noEmit {@}\" --", "type-check": "run-s generate:* \"tsc --noEmit {@}\" --",

View file

@ -6,7 +6,7 @@
"test": "renovate --version && renovate-config-validator" "test": "renovate --version && renovate-config-validator"
}, },
"dependencies": { "dependencies": {
"renovate": "file:../../renovate-0.0.0-semantic-release.tgz" "renovate": "file:../../renovate-v0.0.0-semantic-release.tgz"
}, },
"renovate-config": { "renovate-config": {
"default": { "default": {