Commit c134e499 authored by Grant's avatar Grant
Browse files

[package] only on main commits

parent a7744e4d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@ spec:
$[[ inputs.name ]]:
  stage: build
  image: node:$[[ inputs.node_version ]]
  rules:
    - if: $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
  before_script:
    - npm config set -- //sc07.dev/:_authToken=$CI_JOB_TOKEN
  script: