Problem
The build-and-test CI job fails at yarn install --frozen-lockfile on master and on every pull request. The job stops before the build and the tests run.
Live signal
error Error: https://npm.pkg.github.com/download/@taskade/eslint-plugin/0.4.0/d476accb3162a305a52faa59e35d3b9c1ce4b099: Request failed "401 Unauthorized"
Root cause
package.json lists the private package @taskade/eslint-plugin in dependencies. GitHub Packages serves it only to accounts with access to the taskade organization. The public CI runner and external contributors get a 401, so nobody outside the organization can install this public repo.
The package was lint-only. The repo has no lint script, and CI does not run lint. It was also in dependencies, so zapier push bundled it with the app.
PR #20 had a fix for this. It was closed and folded into PR #19, which also changes the task_due trigger and the README. PR #19 is still open, so master is still red.
Fix plan
- Remove
@taskade/eslint-plugin. Prune its tree from yarn.lock.
- Add
eslint and @typescript-eslint as public devDependencies, at the versions that the lockfile already holds.
- Replace
.eslintrc.json with a self-contained config. Keep the core rules of the old plugin that need only public packages.
- Add a
lint script and a CI lint step.
- Correct the README: add a platform status table and the current list of Zapier operations.
Problem
The
build-and-testCI job fails atyarn install --frozen-lockfileon master and on every pull request. The job stops before the build and the tests run.Live signal
Root cause
package.jsonlists the private package@taskade/eslint-pluginindependencies. GitHub Packages serves it only to accounts with access to the taskade organization. The public CI runner and external contributors get a 401, so nobody outside the organization can install this public repo.The package was lint-only. The repo has no
lintscript, and CI does not run lint. It was also independencies, sozapier pushbundled it with the app.PR #20 had a fix for this. It was closed and folded into PR #19, which also changes the
task_duetrigger and the README. PR #19 is still open, so master is still red.Fix plan
@taskade/eslint-plugin. Prune its tree fromyarn.lock.eslintand@typescript-eslintas public devDependencies, at the versions that the lockfile already holds..eslintrc.jsonwith a self-contained config. Keep the core rules of the old plugin that need only public packages.lintscript and a CI lint step.