У меня репо golang
с клиентом react
. Я хочу настроить CI, используя действия github для моего клиента. Клиент React находится внутри папки client
в рабочей области. Я написал следующий рабочий процесс
name : Node.js CI
on: [push, pull_request]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: client
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
- run: yarn install
- run: yarn build
Но при совершении он показывает следующую ошибку
Run yarn build1s
##[error]Process completed with exit code 1.
Run yarn build
yarn run v1.21.1
error Couldn't find a package.json file in "/home/runner/work/evential/evential"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
##[error]Process completed with exit code 1
Фрагмент
- uses: actions/checkout@v2
with:
path: client
не выполняет следующие шаги запустить внутри папки client
.
Нужна помощь. Заранее спасибо.