Skip to content

Commit

Permalink
Switch the PR Test Action to plain Node
Browse files Browse the repository at this point in the history
It's a workaround for npm/cli#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.
  • Loading branch information
Epse committed Jul 19, 2024
1 parent 8b3a571 commit 641e006
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pr-test-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker Image CI
name: PR Test Build

on:
pull_request:
Expand All @@ -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

0 comments on commit 641e006

Please sign in to comment.