Commit 7c402f2e authored by Grant's avatar Grant
Browse files

ci

parent afd5f9ea
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+12 −0
Original line number Diff line number Diff line
publish:
  stage: deploy
  image: node:24-alpine
  rules:
    - if: $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
  before_script:
    - corepack enable && corepack prepare
    - yarn config set npmScopes.sc07.npmAuthToken "${CI_JOB_TOKEN}"
    - yarn
  script:
    - yarn build
    - yarn npm publish
 No newline at end of file
+1 −3
Original line number Diff line number Diff line
@@ -21,9 +21,7 @@
    "tsx": "^4.21.0"
  },
  "scripts": {
    "build": "tsc",
    "start": "node dist/index.js",
    "start:dev": "tsx -r dotenv/config --watch src/index.ts"
    "build": "tsc"
  },
  "publishConfig": {
    "@sc07:registry": "https://sc07.dev/api/v4/projects/78/packages/npm/"