Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fixed docker build for all platforms #6

Merged
merged 7 commits into from
Dec 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
node-version: 20

- name: Install dependencies
run: npm ci
run: yarn install

- name: ESLint
run: npm run lint
run: yarn run lint

- name: Types
run: npm run typecheck
run: yarn run typecheck
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ FROM node:18-alpine as build
WORKDIR /app

COPY package.json /app
COPY package-lock.json /app
COPY yarn.lock /app

RUN npm ci
RUN yarn install

COPY . /app

RUN npm run build
RUN yarn run build

# There are build issues on the Node 20 version. Jump to 20 when the bug will be fixed.
# https://github.com/nodejs/docker-node/issues/1946
Expand Down
Loading