From 641e0064801a16a2671f4d27e486d280b4ecdc4e Mon Sep 17 00:00:00 2001 From: Stef Pletinck Date: Fri, 19 Jul 2024 13:22:50 +0200 Subject: [PATCH] Switch the PR Test Action to plain Node It's a workaround for https://github.com/npm/cli/issues/7657 at this point, yet does not fix release builds until we can find a base image for 22.4.x Also changes the name as there no longer is Docker involved. --- .github/workflows/pr-test-build.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-test-build.yml b/.github/workflows/pr-test-build.yml index 8c9c5ce..a30a4ce 100644 --- a/.github/workflows/pr-test-build.yml +++ b/.github/workflows/pr-test-build.yml @@ -1,4 +1,4 @@ -name: Docker Image CI +name: PR Test Build on: pull_request: @@ -9,5 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Build the Docker image - run: docker build . --file Dockerfile --tag stefpletinck/betty:$(git rev-parse HEAD) + - uses: actions/setup-node@v4 + with: + node-version: 22.4.x + - name: Install dependencies + run: npm ci --include dev + - name: Build + run: npx tsup src/server.ts src/deploy-commands.ts --minify