diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b2f8a8d..426dcea 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 + diff --git a/Dockerfile b/Dockerfile index 7971aab..b77d6c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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