Skip to content

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: Validationuses: cncsc/actions/.github/workflows/validation.yaml@mainwith:
runPreCommit: true # optionalrunDefaultLinters: true # optionaladditionalHomebrewPackages: tflint tfsec # optionalrunDefaultTests: true # optional

Semantic Release Workflow

jobs:
cd:
name: Releaseuses: cncsc/actions/.github/workflows/semantic-release.yaml@mainsecrets:
GIT_TOKEN_BASIC: ${{ secrets.GIT_TOKEN_BASIC }} # requiredNPM_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

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages