fix ci
This commit is contained in:
parent
aacc685da1
commit
6002368f3b
3 changed files with 3 additions and 5 deletions
3
.github/workflows/docker-publish.yml
vendored
3
.github/workflows/docker-publish.yml
vendored
|
@ -91,5 +91,4 @@ jobs:
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha
|
no-cache: true
|
||||||
cache-to: type=gha,mode=max
|
|
||||||
|
|
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
@ -11,5 +11,4 @@ jobs:
|
||||||
- name: Cypress run
|
- name: Cypress run
|
||||||
uses: cypress-io/github-action@v4
|
uses: cypress-io/github-action@v4
|
||||||
with:
|
with:
|
||||||
build: node app/db.js
|
|
||||||
start: npm start
|
start: npm start
|
||||||
|
|
|
@ -12,7 +12,7 @@ RUN npm prune --production
|
||||||
FROM node:16-alpine
|
FROM node:16-alpine
|
||||||
|
|
||||||
COPY --from=BUILD_IMAGE /node_modules ./node_modules
|
COPY --from=BUILD_IMAGE /node_modules ./node_modules
|
||||||
COPY /dist ./dist
|
COPY --from=BUILD_IMAGE /dist ./dist
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
COPY tsconfig.json ./
|
COPY tsconfig.json ./
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue