GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — github-script/docs/development.md at main · quantap-code/github-script

Expand file tree

/

development.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
28 lines (19 loc) · 1.3 KB
/

development.md

Copy path

File metadata and controls

28 lines (19 loc) · 1.3 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Development

How this action works

This action works by evaluating the user input as the body of an asynchronous JavaScript function. See main.ts for details.

Building

Before the action can be used, it needs to be compiled to JavaScript:

bash> npm run build

It also has a pre-commit hook configured via husky that should run the build script before each commit. Additionally, this hook formats code and lints it, as well.

Releasing

Releases are done manually, for now:

  1. Ensure that the build is up to date with npm run build. It's also good to ensure you have the correct dependencies installed by running npm install before you build.
  2. Bump the package.json and package-lock.json version numbers and commit them. I like to do this with npm version {major,minor,patch} --no-git-tag-version. This will bump the version numbers but let you manually commit and tag, yourself.
  3. Update documentation (including updated version numbers).
  4. Tag main with the new version number and create a GitHub release. Make sure you also force-create and force-push tags for minor and patch updates. For example, when creating v5.2.0 (a minor bump), you want to create (or update) v5, v5.2, and v5.2.0.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.