mirror of
https://github.com/bastienwirtz/homer.git
synced 2024-11-07 08:44:00 +01:00
Fix CI build
This commit is contained in:
parent
5f5a508b6e
commit
bcebb3e67e
2
.github/workflows/dockerhub.yml
vendored
2
.github/workflows/dockerhub.yml
vendored
@ -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
|
||||
|
6
.github/workflows/integration.yml
vendored
6
.github/workflows/integration.yml
vendored
@ -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
|
||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user