Skip to main content
Module

x/effector/.gitlab-ci.yml

Business logic with ease ☄️
Go to Latest
File
image: node:11
cache: paths: - node_modules/
stages: - test - deploy
test_all: stage: test script: - yarn - yarn test-fullnpm_latest: stage: deploy script: - echo "publish npm latest" - yarn - npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - node tools/builder.js publish latest environment: name: npm url: https://www.npmjs.com/package/effector when: manual only: - masternpm_next: stage: deploy script: - echo "publish npm next" - yarn - npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - node tools/builder.js publish next environment: name: npm url: https://www.npmjs.com/package/effector when: manual only: - masternpm_canary: stage: deploy script: - yarn - npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - yarn build - VERSION_HASH=${CI_COMMIT_SHA:0:8} node tools/versionHash - cd npm/effector && npm publish environment: name: npm_canary url: https://www.npmjs.com/package/@effector/canary only: - master