Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.22 KB

DEVELOPMENT.md

File metadata and controls

57 lines (39 loc) · 1.22 KB

Development

Notes

  • Sometime dev.to api may respond with 5xx.
  • If you're using your personal dev.to account for development set published: false or removed it from front-matter.
  • Set ACTIONS_RUNNER_DEBUG GitHub Environment Variable to TRUE for extra logs.

Tools & Workflow

NPM Scripts

I'm using yarn as package manager. If you are using npm, You have to replace yarn with npm or create new script:

...
  scripts: {
    "rebuild": "yarn clean && yarn build",
+   "rebuild:npm": "npm clean && npm build"
  }
...

Test:

$ yarn test

Run Action locally:

To run this action locally,You have to use act. After Install act follow these steps.

Set dev.to api-key Secret

File: .secret

DEVTO_API_KEY=

Run

$ act

Awesome Docs/Tools