Fix CI build

This commit is contained in:
Bastien Wirtz 2024-03-11 09:54:09 +01:00
parent 5f5a508b6e
commit bcebb3e67e
4 changed files with 9 additions and 9 deletions

View File

@ -50,4 +50,4 @@ jobs:
tags: |
b4bz/homer:${{env.IMAGE_TAG}}
ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }}
platforms: linux/amd64,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/arm/v7,linux/arm/v6,linux/arm64

View File

@ -22,16 +22,16 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
-
name: install dependencies
run: yarn install
run: yarn install --frozen-lockfile --non-interactive
-
name: Check code style & potentential issues
run: yarn lint

View File

@ -12,11 +12,11 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Build project
run: |
yarn install
yarn install --frozen-lockfile --non-interactive
yarn build
-
name: Create artifact
@ -25,7 +25,7 @@ jobs:
-
name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: true

View File

@ -3,8 +3,8 @@ FROM node:lts-alpine3.19 as build-stage
WORKDIR /app
COPY package*.json ./
RUN yarn install --frozen-lockfile
COPY package.json ./
RUN yarn install --frozen-lockfile --non-interactive
COPY . .
RUN yarn build