Skip to content

Commit

Permalink
Fix integrate test on earthly
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesin11 committed Jan 1, 2025
1 parent 91b2317 commit 3935388
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,12 @@ jobs:
path: junit

cli_test:
strategy:
matrix:
container_tag:
# - "current"
- "lts"
- "22"
fail-fast: false

runs-on: ubuntu-latest
container:
image: "node:${{ matrix.container_tag }}"

steps:
- uses: actions/checkout@v4
- name: Show node env
run: |
node -v
npm -v
- run: npm ci
- run: npm run build
- run: npm run integrate_test
- uses: earthly/[email protected]

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Node CI' step
Uses Step
uses 'earthly/actions-setup' with ref 'v1.0.13', not a pinned commit hash
with:
version: latest
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: earthly +integrate-test
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ build:

integrate-test:
FROM +build
COPY --dir integrate_tests __tests__ .
COPY --dir integrate_tests tests .
RUN rm -rf dist
COPY +build/dist dist

Expand Down

0 comments on commit 3935388

Please sign in to comment.