Skip to content

Merge remote-tracking branch 'origin/shared-github-workflows' into sh… #2

Merge remote-tracking branch 'origin/shared-github-workflows' into sh…

Merge remote-tracking branch 'origin/shared-github-workflows' into sh… #2

Workflow file for this run

name: CI/CD Workflow
on:
pull_request:
push:
branches:
- main
jobs:
setup:
uses: ./_base.yml@v1

Check failure on line 11 in .github/workflows/index.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/index.yml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
with:
node_version: '18'
commitlint:
needs: setup
uses: ./commitlint.yml@v1
with:
edit: '.git/COMMIT_EDITMSG'
eslint:
needs: setup
uses: ./eslint-check.yml@v1
with:
maxWarnings: '0'
prettier:
needs: setup
uses: ./prettier-check.yml@v1
generate-writerside-docs:
needs: setup
if: github.ref == 'refs/heads/main'
uses: ./generate_writerside_docs.yml@v1
with:
npm_token: ${{ secrets.NPM_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
semantic-release:
needs: setup
if: github.ref == 'refs/heads/main'
uses: ./semantic-release.yml@v1
with:
node_version: '18'
npm_token: ${{ secrets.NPM_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}