From bcebb3e67ef546071d4a455ba4661d6a51152871 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Mon, 11 Mar 2024 09:54:09 +0100 Subject: [PATCH] Fix CI build --- .github/workflows/dockerhub.yml | 2 +- .github/workflows/integration.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- Dockerfile | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 5f31708..4043a2c 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -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 diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 3177a5e..937bc89 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d554a5f..44a128d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 6a6d741..58d08dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- 2.41.0