{"id":13474730,"url":"https://github.com/elstudio/actions-js-build","last_synced_at":"2025-03-21T00:31:44.855Z","repository":{"id":44350016,"uuid":"162819763","full_name":"elstudio/actions-js-build","owner":"elstudio","description":"GitHub Actions for running Javascript build tools and committing file changes","archived":false,"fork":false,"pushed_at":"2021-03-22T19:01:00.000Z","size":68,"stargazers_count":54,"open_issues_count":6,"forks_count":18,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T19:21:21.236Z","etag":null,"topics":["github-actions","grunt","gulp","javascript","npm"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elstudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-22T14:57:01.000Z","updated_at":"2024-11-30T05:58:07.000Z","dependencies_parsed_at":"2022-08-29T21:43:04.129Z","dependency_job_id":null,"html_url":"https://github.com/elstudio/actions-js-build","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elstudio%2Factions-js-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elstudio%2Factions-js-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elstudio%2Factions-js-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elstudio%2Factions-js-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elstudio","download_url":"https://codeload.github.com/elstudio/actions-js-build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244717391,"owners_count":20498283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","grunt","gulp","javascript","npm"],"created_at":"2024-07-31T16:01:14.388Z","updated_at":"2025-03-21T00:31:44.515Z","avatar_url":"https://github.com/elstudio.png","language":"Shell","readme":"# GitHub Actions for JavaScript build tools (Gulp, Grunt, NPM -- and git)\n\nRun JS build tasks with Gulp, Grunt or NPM, then commit any changed files and push them back to your original repository.\n\nPerfect for Grunt or Gulp tasks that do CSS (or SASS/LESS) compilation or JS transpilation.  If your build task changes files, these actions are for you.\n\nThis repository contains two actions that may be used independently -- typically one after another:\n\n- **build** (elstudio/actions-js-build/build@v4): Looks for a gulpfile.js or Gruntfile.js in the working directory, then installs any required npm packages and runs the appropriate build tool. If it finds neither gulp or grunt, the script runs npm. Set the workflow `args` arguments to run the tasks of your choice.\n- **commit** (elstudio/actions-js-build/commit@v4): Commits any file changes, and pushes them back to the current branch of the origin repository on GitHub.\n\n\n## Usage\n\nAn example workflow to run `grunt default` task to build, test, then commit and push any changes back to the GitHub origin repository:\n\n```yaml\nname: Grunt build and commit updated stylesheets\n\non: [push]\n\njobs:\n  grunt-build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-node@v2\n      with:\n        node-version: 12\n\n    - name: Compile with Grunt\n      uses: elstudio/actions-js-build/build@v4\n      with:\n        wdPath: './web/themes/nw8'\n\n    - name: Commit changes\n      uses: elstudio/actions-js-build/commit@v4\n      with:\n        commitMessage: Regenerate css \n```\n\n\n\n### Inputs\n\n* `wdPath` - **Optional**. To specify a directory other than the repository root where NPM's Package.json and either gulpfile.js or Gruntfile.js may be found.\n","funding_links":[],"categories":["Community Resources","Uncategorized"],"sub_categories":["Frontend Tools","Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felstudio%2Factions-js-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felstudio%2Factions-js-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felstudio%2Factions-js-build/lists"}