Skip to content
forked from cncsc/actions

GitHub Actions workflow definitions and related automation scripts.

License

Notifications You must be signed in to change notification settings

nicholascwd/actions

 
 

Repository files navigation

GitHub Actions Workflows

Reusable GitHub Action workflows for CNCSC and member projects.

Runs on ubuntu and macos.

Usage

Validation Workflow

Runs pre-commit validation and executes the projects lint script from package.json.

jobs:
  ci:
    name: Validation
    uses: cncsc/actions/.github/workflows/validation.yaml@main
    with:
      runPreCommit: true # optional
      runDefaultLinters: true # optional
      additionalHomebrewPackages: tflint tfsec # optional
      runDefaultTests: true # optional

Semantic Release Workflow

jobs:
  cd:
    name: Release
    uses: cncsc/actions/.github/workflows/semantic-release.yaml@main
    secrets:
      GIT_TOKEN_BASIC: ${{ secrets.GIT_TOKEN_BASIC }} # required
      NPM_ACCESS_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} # optional

Note that NPM_ACCESS_TOKEN is required when accessing private packages and/or publishing packages.

About

GitHub Actions workflow definitions and related automation scripts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 67.6%
  • JavaScript 32.4%