convert-action

0.4.0 • Public • Published

convert-action

This is a single purpose CLI that rewrites the runs section in a GitHub Action action.yml file, replacing the current contents with the following:

runs:
  using: node16
  main: dist/index.js

Usage

By default it will update action.yml and set main to dist/index.js

npx convert-action

You can set the value for main by passing an additional parameter:

npx convert-action index.dist.js

You can also change the filename to read:

npx convert-action dist/index.js my-subfolder/action.yml

Readme

Keywords

Package Sidebar

Install

npm i convert-action

Weekly Downloads

26

Version

0.4.0

License

MIT

Unpacked Size

3.38 kB

Total Files

5

Last publish

Collaborators

  • mheap