Skip to content

Commit 33cdec4

Browse files
committed
Fix integrate test on earthly
1 parent 91b2317 commit 33cdec4

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,12 @@ jobs:
3434
path: junit
3535

3636
cli_test:
37-
strategy:
38-
matrix:
39-
container_tag:
40-
# - "current"
41-
- "lts"
42-
- "22"
43-
fail-fast: false
44-
4537
runs-on: ubuntu-latest
46-
container:
47-
image: "node:${{ matrix.container_tag }}"
4838

4939
steps:
5040
- uses: actions/checkout@v4
51-
- name: Show node env
52-
run: |
53-
node -v
54-
npm -v
55-
- run: npm ci
56-
- run: npm run build
57-
- run: npm run integrate_test
41+
- uses: earthly/actions-setup@v1.0.13
42+
with:
43+
version: latest
44+
github-token: ${{ secrets.GITHUB_TOKEN }}
45+
- run: earthly +integrate_test

Earthfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build:
1414

1515
integrate-test:
1616
FROM +build
17-
COPY --dir integrate_tests __tests__ .
17+
COPY --dir integrate_tests tests .
1818
RUN rm -rf dist
1919
COPY +build/dist dist
2020

0 commit comments

Comments
 (0)