dolittle / release-typescript-lib-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Action - Release TypeScript Library

This GitHub action releases a TypeScript/JavaScript library by updating its package version(s) and publishing it to npm

Github JavaScript Actions CI/CD

Pre requisites

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

Inputs

  • version: The version
  • root (optional): The relative path to the root of the TypeScript project. default = root of the repository

Example Workflow

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

Contributing

We're always open for contributions and bug fixes!

Pre requisites

node <= 12 yarn git

About

License:MIT License


Languages

Language:TypeScript 71.5%Language:JavaScript 28.5%