diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5f9ad7c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,13 @@ +name: continuous-integration + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + checks: + uses: mixmaxhq/github-workflows-public/.github/workflows/checks.yml@main diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..9293735 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +12.22.6 diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index ecaf46e..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,6 +0,0 @@ -// This name is defined in the Jenkins management console, and pulled from a github repository under -// our mixmaxhq organization by the same name. Specify a specific tag/revision by appending it along -// with an '@' symbol to the string literal. -@Library('scm-service-library') _ - -npmModulePipeline {} diff --git a/README.md b/README.md index a1f983a..353640c 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,9 @@ workflow. If `commitlint-jenkins` is run in CI in a build that isn't a pull request build, silently exit. This flag is particularly handy for use with [`@mixmaxhq/semantic-commitlint`](https://github.com/mixmaxhq/semantic-commitlint). + +## Publishing a new version + +``` +GH_TOKEN=xxx npx semantic-release --no-ci +```