mirror of https://github.com/bastienwirtz/homer
Fix CI build
parent
5f5a508b6e
commit
bcebb3e67e
|
@ -50,4 +50,4 @@ jobs:
|
||||||
tags: |
|
tags: |
|
||||||
b4bz/homer:${{env.IMAGE_TAG}}
|
b4bz/homer:${{env.IMAGE_TAG}}
|
||||||
ghcr.io/${{ github.repository }}:${{ 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
|
||||||
|
|
|
@ -22,16 +22,16 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
-
|
-
|
||||||
name: Use Node.js ${{ matrix.node-version }}
|
name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
-
|
-
|
||||||
name: install dependencies
|
name: install dependencies
|
||||||
run: yarn install
|
run: yarn install --frozen-lockfile --non-interactive
|
||||||
-
|
-
|
||||||
name: Check code style & potentential issues
|
name: Check code style & potentential issues
|
||||||
run: yarn lint
|
run: yarn lint
|
||||||
|
|
|
@ -12,11 +12,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
-
|
-
|
||||||
name: Build project
|
name: Build project
|
||||||
run: |
|
run: |
|
||||||
yarn install
|
yarn install --frozen-lockfile --non-interactive
|
||||||
yarn build
|
yarn build
|
||||||
-
|
-
|
||||||
name: Create artifact
|
name: Create artifact
|
||||||
|
@ -25,7 +25,7 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Create Release
|
name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
|
|
|
@ -3,8 +3,8 @@ FROM node:lts-alpine3.19 as build-stage
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package.json ./
|
||||||
RUN yarn install --frozen-lockfile
|
RUN yarn install --frozen-lockfile --non-interactive
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
Loading…
Reference in New Issue