Skip to content

Commit 8e3a643

Browse files
authored
fix: Build and test node 24-alpine (#2)
1 parent 6623351 commit 8e3a643

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/pull-request.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
name: Build docker images on PR
2-
on: pull_request
2+
on:
3+
pull_request:
4+
branches:
5+
- main
36
jobs:
47
build:
58
name: Test build for Node.js ${{ matrix.node-version }}
69
runs-on: ubuntu-latest
710
strategy:
811
matrix:
9-
node-version: [20, 22]
12+
node-version: [20, 22, 24]
1013
steps:
1114
- name: Checkout
1215
uses: actions/checkout@v4
1316
- name: Use Node.js ${{ matrix.node-version }}
1417
uses: actions/setup-node@v4
1518
with:
1619
node-version: ${{ matrix.node-version }}
17-
- name: Set up Medusa CLI
18-
run: npm i -g @medusajs/cli
1920
- name: Create a test project
20-
run: npx medusa new -y --skip-db --skip-migrations test
21+
uses: actions/checkout@v4
22+
with:
23+
repository: medusajs/medusa-starter-default
24+
path: test
2125
- name: Copy Dockerfile to the test project
2226
run: cp Dockerfile .dockerignore test/
2327
- name: Set up QEMU

0 commit comments

Comments
 (0)