fix build failed
This commit is contained in:
parent
2cc6e05426
commit
1b8ca05380
|
|
@ -12,6 +12,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [macos-latest, windows-latest, ubuntu-latest]
|
platform: [macos-latest, windows-latest, ubuntu-latest]
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,10 @@ RUN apk add --update libc6-compat
|
||||||
|
|
||||||
WORKDIR /usr/src/packages
|
WORKDIR /usr/src/packages
|
||||||
|
|
||||||
# Copy root package.json and lockfile
|
# Copy root package.json
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
COPY yarn.lock ./
|
# Conditonal copy lockfile
|
||||||
|
COPY yarn.loc[k] ./
|
||||||
|
|
||||||
# Copy components package.json
|
# Copy components package.json
|
||||||
COPY packages/components/package.json ./packages/components/package.json
|
COPY packages/components/package.json ./packages/components/package.json
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue