From 82b0841ff6a0309bb0b0e95325023f42727e8f3a Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Tue, 12 Dec 2023 12:17:19 -0800 Subject: [PATCH] ci: misc updates --- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 2 ++ .gitignore | 6 ++++ .npmignore | 56 +++++++++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2494d48..edee044 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: CI -on: [ push ] +on: [ push, pull_request ] env: CI: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 42a9bb9..d489fbd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,8 @@ on: push: branches: - master + paths: + - package.json env: CI: true diff --git a/.gitignore b/.gitignore index f8faa6b..625981f 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,9 @@ jspm_packages .node_repl_history package-lock.json +bower_components +# Optional npm cache directory +.npmrc +.idea +.DS_Store +haraka-update.sh \ No newline at end of file diff --git a/.npmignore b/.npmignore index 3bc262a..3e8e260 100644 --- a/.npmignore +++ b/.npmignore @@ -1,2 +1,58 @@ +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional REPL history +.node_repl_history + +package-lock.json +bower_components +# Optional npm cache directory +.npmrc +.idea +.DS_Store +haraka-update.sh + .github +.release +.codeclimate.yml +.editorconfig +.gitignore +.gitmodules +.lgtm.yml +appveyor.yml codecov.yml +.travis.yml +.eslintrc.yaml +.eslintrc.json