Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Nov 3, 2022
1 parent 3f66215 commit 1e26f1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Release
env:
HUSKY: "0"
on:
workflow_dispatch:
repository_dispatch:
Expand All @@ -11,7 +13,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: npm ci
- run: npm ci --ignore-scripts
- run: npm run lint
- run: npm run test
- name: Release
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ FROM node:lts-alpine

EXPOSE 9171

ENV NODE_ENV=production
ENV NODE_ENV=production HUSKY=0

WORKDIR /opt/github_exporter

COPY . .

RUN apk add --no-cache tini && npm install --omit=dev --quiet --ignore-scripts
RUN apk add --no-cache tini && npm ci --omit=dev --quiet --ignore-scripts

USER 1001

Expand Down

0 comments on commit 1e26f1f

Please sign in to comment.