shibuiwilliam / github_actions_experiment

github_actions_experiment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript/TypeScript actions

Code in Main

First, you'll need to have a reasonably modern version of node handy. This won't work with versions older than 9, for instance.

Install the dependencies

$ npm install

Build the typescript and package it for distribution

$ npm run build && npm run package

Run the tests ✔️

$ npm test

 PASS  ./index.test.js
  ✓ throws invalid number (3ms)
  ✓ wait 500 ms (504ms)
  ✓ test runs (95ms)

...

Change action.yml

The action.yml defines the inputs and output for your action.

Update the action.yml with your name, description, inputs and outputs for your action.

See the documentation

About

github_actions_experiment

License:MIT License


Languages

Language:TypeScript 69.5%Language:Dockerfile 10.0%Language:Python 8.7%Language:JavaScript 7.0%Language:Shell 4.8%