From 25ecf29d22e0c2b934e0605746116b20d1bff520 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Mon, 3 Mar 2025 14:51:06 -0800 Subject: [PATCH] Install during pr-check --- .gitea/workflows/pr.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/pr.yaml b/.gitea/workflows/pr.yaml index dfbb5ca..5e9dead 100644 --- a/.gitea/workflows/pr.yaml +++ b/.gitea/workflows/pr.yaml @@ -18,13 +18,12 @@ jobs: # super-linter needs the full git history to get the # list of files that changed across commits fetch-depth: 0 - # I _suspect_ that the reason that `npx eslint .` is failing is because it's operating relative to - # `/workspace/scubbo/`, which is not the root of the repo (which is at `/workspace/scubbo/commit-report-sync`) - - name: Debug logging - run: | - pwd - echo "" - ls -la + + # This _shouldn't_ be necessary, since `node_modules` are checked-in? + # But, adding it because, without it, I get `Cannot find module '/workspace/scubbo/commit-report-sync/node_modules/.../...out/index.js'. + # Please verify that the package.json has a valid "main" entry + - name: Install + run: npm ci # Usually I would... # - name: Super Linter