Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/standalone-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,20 @@ jobs:
BROWSER: ${{ matrix.browser }}
run: TS_NODE_TRANSPILE_ONLY=1 node scripts/run-node-without-type-stripping.js -r ts-node/register scripts/preload-standalone-browser.ts

- name: Test the packed npm consumer (runner and standalone)
if: ${{ matrix.browser == 'chrome' }}
run: |
consumer="$(mktemp -d)"
trap 'rm -rf "$consumer"' EXIT
npm pack --ignore-scripts --pack-destination "$consumer"
cp test/fixtures/packed-consumer/* "$consumer/"
cd "$consumer"
printf '{"name":"testplane-consumer","private":true}\n' > package.json
npm install --omit=dev --no-audit --no-fund ./testplane-*.tgz
npm ls --omit=dev --all > /dev/null
./node_modules/.bin/testplane -c testplane.config.cjs smoke.testplane.js
node standalone.cjs

- name: "Prepare screenshot tests: Cache browser docker image"
if: ${{ matrix.browser == 'chrome' }}
uses: actions/cache@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ testplane-report/**
*.tsbuildinfo
test/browser-env/report/**
test/e2e/report
examples/**/dist/
2 changes: 1 addition & 1 deletion examples/android-apps/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
24
Loading
Loading