Commit Graph

85 Commits

Author SHA1 Message Date
Christopher Hiller d866bddc15 chore(ci): filter more workflows
This causes the "Build" workflow to only trigger if the PR modifies files in paths that might affect the build.

Likewise, the "Build Docs" workflow is expanded to rebuild docs if API changes occur (e.g. in sources).

Also restricts perms a bit more on docs build.
2023-04-05 14:37:05 -07:00
Christopher Hiller a1723231be chore: update labeler config
- automatically dump tooling config into "chore"
- add missing `@appium/eslint-config-appium-ts` label
2023-03-30 11:17:06 -07:00
Christopher Hiller f4a254f204 chore: rename workflow labeler.yml to auto-labeler.yml
This avoids using the same filename as the [multi-labeler action](/fuxingloh/multi-labeler)'s config file, just for clarity sake.
2023-03-30 11:17:06 -07:00
Christopher Hiller 22b943dff1 chore: attempt to get labeler workflows running against forks 2023-03-30 11:17:06 -07:00
renovate[bot] 5c0315d3bb chore(workflows): update actions/checkout digest to 8f4b7f8 2023-03-24 08:40:56 +00:00
Christopher Hiller 017216533b chore(ci): suppress warnings when linting
This suppresses all warnings when running ESLint in CI (since they are noisy)
2023-03-23 13:05:31 -07:00
renovate[bot] fc19705ecd chore(workflows): update actions/checkout digest to 24cb908 2023-03-16 13:12:23 +00:00
Christopher Hiller 9ed6711a7e chore(ci): attempt to build and preview docs
This also isolates the docs build into a workflow that only runs when changes are likely to materially affect doc gen.
2023-03-09 10:11:53 -08:00
Christopher Hiller fa0e853bd0 chore(ci): attempt to avoid running trusted code on PRs from forks 2023-03-08 15:06:19 -08:00
Christopher Hiller 296cb2436c chore: add auto-labeler workflow
This will automatically label PRs. We can update it to further automatically label issues at a later time, if necessary.

I have added labels for each package.
2023-03-06 13:12:32 -08:00
Christopher Hiller 90c0d36f2a chore(ci): add cache cleanup workflow on PR close
I noticed we were filling up our allotted cache space.  Reading about it, I found this example to cleanup caches we no longer need (specifically, from closed PRs)
2023-02-15 10:50:36 -08:00
Christopher Hiller 12245ae98c chore(ci): add job to disallow merges of PRs
...if it has the "On Hold" label
2023-01-20 15:01:06 -08:00
Christopher Hiller a96d952a06 chore(ci): add doc build to ci 2023-01-20 10:31:46 -08:00
renovate[bot] d8323b3d3c chore(workflows): update actions/setup-node digest to 64ed1c7 2023-01-06 18:40:00 +00:00
renovate[bot] 5d1090555f chore(workflows): update actions/checkout digest to ac59398 2023-01-06 12:29:27 +00:00
renovate[bot] 3993decde4 chore(workflows): update actions/checkout digest to 755da8c 2022-12-14 10:10:32 +00:00
Christopher Hiller 8f4c09c8a7 chore(ci): remove broken commitlint job 2022-12-13 15:35:30 -08:00
renovate[bot] cf614b84b6 chore(workflows): update actions/checkout digest to 7dd9e2a 2022-12-13 10:24:20 +00:00
Christopher Hiller 44283b4c4e chore(appium,docutils,ci): remove doc gen from CI
What used to be the `generate-docs` script no longer works, since the `commands-yml` directory no longer exists.

Unclear to me what should be done here at this point, but it makes the "build command documentation" job pointless.
2022-12-06 11:21:05 -08:00
Christopher Hiller 7247708050 chore(ci): remove old script from CI 2022-12-06 11:21:05 -08:00
Christopher Hiller 78a4b3488e chore(ci): add commitlint workflow 2022-12-02 15:05:32 -08:00
Christopher Hiller b59af041d3 chore(ci): this re-enables the "deploy" workflow
Branch needed to be updated
2022-11-29 12:13:59 -08:00
Christopher Hiller 86a84018f0 chore(ci): always display lifecycle script output
also upgrade `bahmutov/npm-install`
2022-11-28 17:14:40 -08:00
Christopher Hiller 57904cca57 chore(ci): fix missing line in FOSSA workflow 2022-11-09 10:21:41 -08:00
Christopher Hiller 825c4edf17 chore(renovate): use shared config and group teen_process pkgs 2022-10-31 16:02:05 -07:00
Christopher Hiller 93f939982f chore(github): replace bug report template with bug report form 2022-10-31 13:26:22 -07:00
Dor Blayzer 94ee0a4127 chore(github): Replace old version of issues template (#17645)
* Update issue templates

Add bug and Feature report templates

* Delete ISSUE_TEMPLATE.md

Remove old version of Issue_template
2022-10-26 13:20:34 -07:00
renovate[bot] b7bd6b426a chore(workflows): update actions/setup-node digest to 8c91899 2022-10-14 08:08:01 +00:00
renovate[bot] c7072027d6 chore(workflows): update actions/checkout digest to 93ea575 2022-10-11 19:04:38 +00:00
renovate[bot] 08fc54b536 chore(workflows): update actions/setup-node digest to 969bd26 2022-09-28 11:11:40 +00:00
Jonathan Lipps 990645e296 chore: remove CLA link in PR template
it's managed by a bot now anyway
2022-09-13 13:43:36 -07:00
Christopher Hiller 0c70d27679 chore(ci): fix FOSSA workflow 2022-08-23 13:54:22 -07:00
Christopher Hiller 44422a1e58 chore(ci): use npm caches across jobs
I think this was just an oversight
2022-08-23 13:51:23 -07:00
Christopher Hiller 21dc828306 chore(ci): use midnight-smoker
This replaces use of GH action `boneskull/nodejs-production-test-action` with direct use of `midnight-smoker`. It's now trivial to run all the smoke tests in a development environment.
2022-08-23 13:51:23 -07:00
Christopher Hiller f5bc702c9a chore(ci): update to latest nodejs-production-test-action 2022-08-17 11:33:26 -07:00
Christopher Hiller 5efd62af08 chore(ci): fix target branch for FOSSA job 2022-08-02 16:18:39 -07:00
Christopher Hiller 018daac156 chore(): remove dependabot config 2022-07-20 11:42:33 -07:00
renovate[bot] 3608f0633d chore(workflows): update actions/setup-node digest to 2fddd88 2022-07-15 19:00:45 +00:00
renovate[bot] c8b9dfcd91 chore(workflows): pin actions/setup-node action to 5b949b5 2022-07-13 13:48:01 -07:00
Christopher Hiller dab37d7286 chore(ci): add mjpeg-consumer to dev deps
I am unsure why this was not in dev deps already. It is not a native module or anything, so...
2022-07-13 13:47:44 -07:00
Christopher Hiller 109278bb0d chore(ci): attempt to cache deps
This change adds [bahmutov/npm-install](https://github.com/bahmutov/npm-install) to help cache dependencies, and enables caching against global modules via [setup-node](https://github.com/actions/setup-node).
2022-07-13 13:47:44 -07:00
renovate[bot] d0ca5d5e7d chore(workflows): update actions/setup-node digest to 5b949b5 2022-07-12 13:29:07 +00:00
Mykola Mokhnach 0db78ae885 ci: Add a script that verifies Appium deployment on different OSs (#17146) 2022-07-08 08:38:14 +02:00
Christopher Hiller dc3eecbd7e chore(ci): enable quiet mode when running smoke tests 2022-06-13 16:08:17 -07:00
Christopher Hiller 485239d599 chore(ci): run smoke test in all packages
This uses the [boneskull/nodejs-production-test-action](https://github.com/boneskull/nodejs-production-test-action) GH action to run a smoke test across all packages.

The action does the following:

1. Runs `npm pack` on each package, writing the tarball to a temp dir. This tarball contains the package as a user would `npm install` it.
2. Changes into the temp dir and runs `npm install <tarball>` on each
3. Runs a specified script (in our case, `test:smoke`) in each installed package's dir in `<tmp_dir>/node_modules`

Because `devDependencies` will not be present, this should avoid a class of issues where production deps are miscategorized as dev deps.

The action should probably use a separate temp dir for each--in the case of a dependency being present but only because some other package depends on it--but it's not smart enough to figure out peer dependencies yet.
2022-06-13 16:08:17 -07:00
Renovate Bot e4682bb467 chore(workflows): update actions/setup-node digest to eeb10cf 2022-06-07 13:34:14 +00:00
Renovate Bot dfd6b94e14 chore(workflows): pin dependencies 2022-06-03 10:42:53 -07:00
neilnaveen 7e2412499a chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-05-18 11:58:51 -07:00
Christopher Hiller 5e24fbac5c chore(ci): add Node v18 to matrix; remove Node v17 2022-05-03 12:50:20 -07:00
Christopher Hiller 39aab21aef chore: "lerna link convert"; replace siblings with relative "file:" links
This is a "fix" but only for the dev environment.

Further:

- add install of `mjpeg-consumer` to CI, since it may have disappeared from the environment
- remove `overrides` from `@appium/support`'s `package.json` since it no longer seems needed
2022-04-25 14:37:28 -07:00