Skip to content

Run Nullstack Tests on GitHub Actions#155

Merged
Mortaro merged 11 commits intonullstack:unstable-nextfrom
GuiDevloper:tests-ci
Jan 30, 2022
Merged

Run Nullstack Tests on GitHub Actions#155
Mortaro merged 11 commits intonullstack:unstable-nextfrom
GuiDevloper:tests-ci

Conversation

@GuiDevloper
Copy link
Copy Markdown
Member

@GuiDevloper GuiDevloper commented Jan 21, 2022

  • Run tests in PRs targeting master/next branchs (re-runs on new commits).
  • Stores node_modules in cache, updating if dependencies changes.
  • Run tests concurrently in Node v12.20.0 and v14.x.
  • Diminish tests boilerplates because of jest-puppeteer support (also runs start&tests in the same process).
  • Replace tests use of local browser for global context
  • Remove all context.newPage() and replace use of local page for global

Based on #154
Closes #152
Strong reference: liron-navon/puppeteer-jest-github-actions-example

PS: Would be nice to get testing right away in a PR like #144, closing and re-opening the PR make this action re-run automagically.

@Mortaro Mortaro marked this pull request as draft January 28, 2022 01:45
@Mortaro Mortaro changed the base branch from next to unstable-next January 30, 2022 03:44
@Mortaro Mortaro marked this pull request as ready for review January 30, 2022 03:44
@Mortaro Mortaro merged commit e7c9378 into nullstack:unstable-next Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants