GithubHelp home page GithubHelp logo

janrito / ghatemplates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fregante/ghatemplates

0.0 1.0 0.0 40 KB

GitHub Actions workflow templates for `$ ghat`

Home Page: https://github.com/fregante/ghat

License: MIT License

ghatemplates's Introduction

GH Actions Templates

Use ghat to easily share your workflows or copy the workflows shared in this repository.

npx ghat fregante/ghatemplates/webext/release.yml

And then remember to choose a random cronjob value.

Used by:

Package/ESM compatibility linter, details in sindresorhus/project-ideas#116

npx ghat fregante/ghatemplates/esm-lint

You can also exclude some tests irrelevant to your project:

npx ghat fregante/ghatemplates/esm-lint --exclude jobs.TypeScript --exclude jobs.Node

Common Node workflows. You can install them all at once with

npx ghat fregante/ghatemplates/node

or exclude some

npx ghat fregante/ghatemplates/node --exclude jobs.Test --exclude jobs.Build

If your distribution/built files need to be committed, this workflow will ensure that they are.

This is useful when creating GitHub Actions or simply to verify that files have been formatted (a better prettier --check, basically)

npx ghat fregante/ghatemplates/is-dist-up-to-date

Requirements:

  • A build npm script (customizable)

Via workflow_dispatch you can automate the release to npm:

  1. Runs npm version * with your specified version
  2. Publishes to npm
  3. Creates the release and changelog with fregante/release-with-changelog
npx ghat fregante/ghatemplates/npm-publish

Requirements:

  • A NPM_TOKEN secret

Via workflow_dispatch you can automate the release and tag updating of a GitHub Action

  1. Creates the specified tag
  2. Creates the release and changelog with fregante/release-with-changelog
  3. Creates or updates the current major tag (like v1, v2, etc)
npx ghat fregante/ghatemplates/action-release

ghatemplates's People

Contributors

fregante avatar kidonng avatar vladimyr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.