GithubHelp home page GithubHelp logo

isabella232 / actions-8 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from homebrew/actions

0.0 0.0 0.0 3.08 MB

:rocket: Homebrew's GitHub Actions

License: BSD 2-Clause "Simplified" License

JavaScript 46.99% Shell 24.94% Dockerfile 0.40% Ruby 27.67%

actions-8's Introduction

Homebrew's GitHub Actions

Navigate to subdirectories for more information about particular Actions.

Every directory (except node_modules) is a separate Action.

Development

In Actions' subdirectories, there are no separate node_modules directories or package-lock.json files. That's because we try to maintain one top-level dependency stack for all Actions together. To add a new dependency (because some Action requires it), run npm install in root directory of this repository. To update dependencies for all Actions at once, one needs to simply run npm upgrade, while being in root directory of this repository too.

Workflow names match Actions' directory names, for consistency. Particular workflow to test an Action is run only when this Action's directory contents or workflow file are changed. In addition to that, all test workflows will run if package.json or package-lock.json files or node_modules directory are changed.

Please be careful not to start multiple workflow jobs testing the same Action at once, as it may cause a failure, because of the way some Actions are tested.

To test an action locally, first run npm install in the root of this repository, then in the directory of your action, run node main.js. Input variables are specified through the environment. For example, if an Action needed a pull_request input, running export INPUT_PULL_REQUEST=1234 would pass that input to the Node.js script. For Actions that need variables from the GitHub Events API, you'll need to save (or construct) the appropriate JSON file, then set GITHUB_EVENT_PATH to the file's location.

actions-8's People

Contributors

dawidd6 avatar mikemcquaid avatar bo98 avatar reitermarkus avatar imichka avatar jonchang avatar brewtestbot avatar dependabot[bot] avatar rylan12 avatar nandahkrishna avatar seekingmeaning avatar fncontroloption avatar chenrui333 avatar dekker1 avatar miccal avatar smillerdev avatar vitorgalvao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.