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

Error: Cannot find module '@actions/github' #5

Closed
xgqfrms opened this issue Aug 18, 2022 · 3 comments
Closed

Error: Cannot find module '@actions/github' #5

xgqfrms opened this issue Aug 18, 2022 · 3 comments

Comments

@xgqfrms
Copy link
Owner

xgqfrms commented Aug 18, 2022

Error: Cannot find module '@actions/github'

https://github.com/xgqfrms/xgqfrms/runs/7894917373?check_suite_focus=true

image

@xgqfrms
Copy link
Owner Author

xgqfrms commented Aug 18, 2022

https://github.com/xgqfrms/github-fe-oss-project-template/blob/main/src/index.ts

$ npm ci

import { context, getOctokit } from "@actions/github";
import { getInput } from "@actions/core";

// libs
import dedent from 'dedent';

@xgqfrms
Copy link
Owner Author

xgqfrms commented Aug 18, 2022

Azure/docker-login#3

not ignore node_modules folder ?

https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#commit-and-push-your-action-to-github

@xgqfrms
Copy link
Owner Author

xgqfrms commented Aug 18, 2022

success ✅

github action & publish release with node_modules

xgqfrms/xgqfrms#19 (comment)

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

1 participant