diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ecd8ac2f..8f01de77 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "22" cache: yarn - name: Cache build outputs if: github.event_name == 'pull_request' @@ -37,6 +37,11 @@ jobs: restore-keys: build-outputs- - name: Install dependencies run: yarn install --check-files + - name: inspectenv + run: |- + npx --version + which npx + ls node_modules/.bin - name: compile run: npx projen && npx projen pre-compile && npx projen compile && npx projen post-compile - name: test diff --git a/projenrc/build-workflow.ts b/projenrc/build-workflow.ts index d0131a86..1c2cfad0 100644 --- a/projenrc/build-workflow.ts +++ b/projenrc/build-workflow.ts @@ -61,7 +61,7 @@ export class BuildWorkflow { name: 'Setup Node.js', uses: 'actions/setup-node@v4', with: { - 'node-version': nodeVersion, + 'node-version': '22', // Temporarily 'cache': 'yarn', }, }, @@ -80,6 +80,10 @@ export class BuildWorkflow { name: 'Install dependencies', run: 'yarn install --check-files', }, + { + name: 'inspectenv', + run: ['npx --version', 'which npx', 'ls node_modules/.bin'].join('\n'), + }, { name: 'compile', run: ['npx projen', 'npx projen pre-compile', 'npx projen compile', 'npx projen post-compile'].join(' && '),