mirror of
https://github.com/lightningequipment/circuitbreaker.git
synced 2026-08-13 12:33:02 +02:00
check for clean working dir
This commit is contained in:
parent
55dc72fc08
commit
b9617b3b2e
2 changed files with 9 additions and 2 deletions
9
.github/workflows/lint.yml
vendored
9
.github/workflows/lint.yml
vendored
|
|
@ -51,10 +51,17 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '19.x'
|
||||
node-version: '19.6.0'
|
||||
- run: yarn
|
||||
working-directory: ./web
|
||||
- run: yarn check-lint
|
||||
working-directory: ./web
|
||||
- run: yarn check-types
|
||||
working-directory: ./web
|
||||
- run: yarn build-export # Build frontend
|
||||
working-directory: ./web
|
||||
- run: | # Check for clean working dir
|
||||
if ! git diff --exit-code; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Install dependencies only when needed
|
||||
FROM node:lts-alpine AS build_frontend
|
||||
FROM node:19.6.0-alpine AS build_frontend
|
||||
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
|
||||
RUN apk add --no-cache libc6-compat
|
||||
WORKDIR /app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue