Skip to content

ci: Minor ci fixes #102

ci: Minor ci fixes

ci: Minor ci fixes #102

name: CI/CD Status
run-name: Full CI/CD Pipeline
permissions:
contents: read
actions: read
on:
push:
# Triggers on pushes to main/development branches.
branches: ["main", "development"]
paths-ignore:
- "*.md"
- "assets/**"
- "docs/**"
- "scripts/**"
- ".github/**/*.md"
- ".github/FUNDING.yml"
- ".eslintrc"
- ".gitignore"
- "__tests__/**"
pull_request:
# Triggers on pull requests to main/development branches.
branches: ["main", "development"]
paths-ignore:
- "*.md"
- "assets/**"
- "docs/**"
- "scripts/**"
- ".github/**/*.md"
- ".github/FUNDING.yml"
- ".eslintrc"
- ".gitignore"
- "__tests__/**"
workflow_dispatch:
# Allows manual triggering of the workflow.
jobs:
trigger-full-ci:
# Triggers the full CI/CD pipeline.
name: CI
uses: ./.github/workflows/lint-and-test.yml
secrets: inherit
with:

Check failure on line 44 in .github/workflows/ci-cd-pipeline.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-cd-pipeline.yml

Invalid workflow file

You have an error in your yaml syntax on line 44
target_env: ${{
(github.ref == 'refs/heads/main' || github.base_ref == 'main') && 'production' ||
(github.ref == 'refs/heads/development' || github.base_ref == 'development') && 'development'
}}
node-version: "22.4.1"
skip_deploy: ${{ github.event_name == 'pull_request' }} # skip deployment if it's a pull request