Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jaesoekjjang opened this issue May 26, 2024 · 0 comments
Closed

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

jaesoekjjang opened this issue May 26, 2024 · 0 comments

Comments

@jaesoekjjang
Copy link

jaesoekjjang commented May 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant