Skip to content

Shared GitHub workflows #4

Shared GitHub workflows

Shared GitHub workflows #4

Workflow file for this run

name: CI/CD Workflow
on:
pull_request:
push:
branches:
- main
jobs:
setup:
uses: ./.github/workflows/_base.yml
with:
node_version: '18'
commitlint:
needs: setup
uses: ./.github/workflows/commitlint_check.yml
with:
edit: '.git/COMMIT_EDITMSG'
eslint:
needs: setup
uses: ./.github/workflows/eslint_check.yml
with:
maxWarnings: '0'
prettier:
needs: setup
uses: ./.github/workflows/prettier_check.yml
generate-writerside-docs:
needs: setup
if: github.ref == 'refs/heads/main'
uses: ./.github/workflows/generate_writerside_docs.yml
with:
npm_token: ${{ secrets.NPM_TOKEN }}

Check failure on line 36 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI/CD Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 36, Col: 18): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.NPM_TOKEN .github/workflows/ci.yml (Line: 37, Col: 21): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GITHUB_TOKEN

Check failure on line 36 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI/CD Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 36, Col: 18): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.NPM_TOKEN .github/workflows/ci.yml (Line: 37, Col: 21): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GITHUB_TOKEN

Check failure on line 36 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI/CD Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 36, Col: 18): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.NPM_TOKEN .github/workflows/ci.yml (Line: 37, Col: 21): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GITHUB_TOKEN
github_token: ${{ secrets.GITHUB_TOKEN }}
semantic-release:
needs: setup
if: github.ref == 'refs/heads/main'
uses: ./.github/workflows/semantic_release.yml
with:
node_version: '18'
npm_token: ${{ secrets.NPM_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}