Skip to content

.gitlab-ci.yml in example has syntax error #185

@jaesoekjjang

Description

@jaesoekjjang

Hi, i guess the current example of .gitlab-ci.yml has syntax errors
스크린샷 2024-05-26 오후 11 42 32

스크린샷 2024-05-26 오후 11 43 26
stages:
  - comment
  - release

before_script: yarn --frozen-lockfile

comment:
  image: node:lts-alpine
  stage: comment 
  # only: merge_requests #fixed
  only:
    - merge_requests
  script: yarn changesets-gitlab comment

release:
  image: node:lts-alpine
  stage: release # added
  # only: main # fixed
  only: 
    - main
  script: yarn changesets-gitlab
  variables:
    INPUT_PUBLISH: yarn release

Fixing this way solved syntax errors for me. I can create a PR for this if you don't mind

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions