This GitHub action releases a TypeScript/JavaScript library by updating its package version(s) and publishing it to npm
Create a workflow .yml
file in your .github/workflows
directory. An example workflow is available below.
For more information, reference the GitHub Help Documentation for Creating a workflow file
version
: The versionroot
(optional): The relative path to the root of the TypeScript project. default = root of the repository
on:
push:
branches:
- "**"
pull_request:
types: [closed]
name: GitHub action workflow name
jobs:
context:
name: Job name
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Name here
uses: dolittle/action-repository-here@tag-to-use
We're always open for contributions and bug fixes!
node <= 12 yarn git