mirror of https://github.com/statping/statping
feat: testing workflow
parent
f6f3d2fe72
commit
8a23a5f327
|
@ -1,5 +1,7 @@
|
||||||
name: CI
|
name: CI
|
||||||
on: [push]
|
on: [push]
|
||||||
|
env:
|
||||||
|
GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
|
||||||
jobs:
|
jobs:
|
||||||
cancel:
|
cancel:
|
||||||
runs-on: [ubuntu-latest]
|
runs-on: [ubuntu-latest]
|
||||||
|
|
|
@ -14,6 +14,7 @@ RUN yarn build && yarn cache clean
|
||||||
WORKDIR /statping-react
|
WORKDIR /statping-react
|
||||||
COPY ./react-frontend/package.json .
|
COPY ./react-frontend/package.json .
|
||||||
COPY ./react-frontend/yarn.lock .
|
COPY ./react-frontend/yarn.lock .
|
||||||
|
COPY ./react-frontend/.npmrc .
|
||||||
RUN yarn install --pure-lockfile --network-timeout 1000000
|
RUN yarn install --pure-lockfile --network-timeout 1000000
|
||||||
COPY ./react-frontend/ .
|
COPY ./react-frontend/ .
|
||||||
RUN yarn build && yarn cache clean
|
RUN yarn build && yarn cache clean
|
||||||
|
|
Loading…
Reference in New Issue