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