Skip to content
forked from btmills/npm

GitHub Action for interacting with npm (with cypress.io dependencies)

License

Notifications You must be signed in to change notification settings

bartlett705/npm-cy

 
 

Repository files navigation

GitHub Action for NPM (with cypress.io dependencies)

This Action for npm enables arbitrary actions with the npm command-line client, including testing with cypress.io and publishing to a registry.

Usage

An example workflow to build, unit test, and E2E test a project with cypress.io follows:

workflow "Build, Test, and Publish" {
  on = "push"
  resolves = ["Publish"]
}

action "Build" {
  uses = "actions/npm@master"
  args = "install"
}

action "Test" {
  needs = "Build"
  uses = "actions/npm@master"
  args = "test"
}

action "E2E Tests" {
  uses = "bartlett705/npm-cy@f69478046d80aef1be0e17582c189a59bbfc9aa1"
  needs = ["Unit Tests"]
  args = "run cy:run"
}

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

Container images built with this project include third party materials. See THIRD_PARTY_NOTICE.md for details.

About

GitHub Action for interacting with npm (with cypress.io dependencies)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 62.7%
  • HCL 23.1%
  • Dockerfile 13.6%
  • Ruby 0.6%