Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn build fails #325

Closed
afirth opened this issue Jun 17, 2021 · 1 comment
Closed

yarn build fails #325

afirth opened this issue Jun 17, 2021 · 1 comment

Comments

@afirth
Copy link

afirth commented Jun 17, 2021

probably just me (tsc noob), but perhaps worth documenting how to build this repo to encourage contributions
I had to:

npm i @actions/exec
npm i @actions/core
npm i @actions/io
npm i @actions/github
yarn build

yarn add or yarn install was not sufficient to get the bundles to build, and without the npm calls I get a bunch of errors on

yarn build
[...]
 > lib/plugins-add/index.ts: error: Could not resolve "@actions/core" (mark it as external to exclude it from the bundle)
    1 │ import * as core from "@actions/core";~~~~~~~~~~~~~~~
@jthegedus
Copy link
Contributor

Please reopen if still an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants