Skip to content

Commit

Permalink
run npm install in the project
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-kasibhatla committed Nov 19, 2022
1 parent 89d92a3 commit dffa775
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ async function run(): Promise<void> {
const projectPath = core.getInput('project_path')
const configPath = core.getInput('build_config')
try {
await exec('npm', ['install', '--force'])
const {data} = await (await axios.get(downloadUrls)).data
const urlList = data[cocosType] as CCDownloadType[]
const {version, darwin} =
Expand Down

0 comments on commit dffa775

Please sign in to comment.