Skip to content

Commit

Permalink
chore: Allow test step to run without tests
Browse files Browse the repository at this point in the history
  • Loading branch information
baumandm committed Jan 18, 2024
1 parent f7649ea commit 08c0d32
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/convertbot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ COPY . /opt/iex
RUN npm set progress=false && npm set loglevel warn
RUN npm ci

RUN npm run build --prefix packages/convertbot && \
npm run test --prefix packages/convertbot && \
RUN npm run build --workspace=@iex/convertbot && \
npm run test --workspace=@iex/convertbot && \
npm run prune:production && \
npm prune --production

Expand Down
4 changes: 2 additions & 2 deletions packages/slackbot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ COPY . /opt/iex
RUN npm set progress=false && npm set loglevel warn
RUN npm ci

RUN npm run build --prefix packages/slackbot && \
npm run test --prefix packages/slackbot && \
RUN npm run build --workspace=@iex/slackbot && \
npm run test --workspace=@iex/slackbot && \
npm run prune:production && \
npm prune --production

Expand Down
3 changes: 2 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default defineConfig({
reporters: ['default'],
alias: {
'@iex/shared': new URL('packages/shared/src', import.meta.url).pathname
}
},
passWithNoTests: true
}
});

0 comments on commit 08c0d32

Please sign in to comment.