Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Install
run: |
npm install
npm ci

- name: Format Check
run: |
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

- name: Install
run: |
npm install
npm ci

- name: Build
run: |
Expand Down Expand Up @@ -118,15 +118,15 @@ jobs:
- name: Integration tests ESM
working-directory: ./test-integration/esm-project
run: |
npm install --install-links
npm ci --install-links
npm run test
env:
DOCKER_HOST: ${{ steps.engine.outputs.sock }}

- name: Integration tests CJS
working-directory: ./test-integration/cjs-project
run: |
npm install --install-links
npm ci --install-links
npm run test
env:
DOCKER_HOST: ${{ steps.engine.outputs.sock }}
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM base AS install-base
WORKDIR /project
COPY . .
RUN --mount=type=cache,target=/root/.npm \
npm install
npm ci

FROM install-base AS build
RUN npm run build
Expand All @@ -33,12 +33,12 @@ COPY --link --from=build /project/test-integration/esm-project esm-project
RUN --mount=type=cache,target=/root/.npm \
cd cjs-project && \
npm install ../node-sdk && \
npm install && \
npm ci && \
npm test
RUN --mount=type=cache,target=/root/.npm \
cd esm-project && \
npm install ../node-sdk && \
npm install && \
npm ci && \
npm test

FROM scratch AS dist
Expand Down
Loading