diff --git a/.buddy/cd.yml b/.buddy/cd.yml index 9662c11..3cc4544 100644 --- a/.buddy/cd.yml +++ b/.buddy/cd.yml @@ -1,8 +1,10 @@ - pipeline: 'CD' - on: 'CLICK' - refs: - - 'refs/heads/*' - priority: 'NORMAL' + on: 'EVENT' + events: + - type: 'PUSH' + refs: + - ':default' + priority: 'HIGH' fail_on_prepare_env_warning: true variables: - key: 'GH_TOKEN' @@ -10,7 +12,7 @@ type: 'VAR' encrypted: true - key: 'NPM_TOKEN' - value: 'secure!hlrHPtjo86FrkValxTh7PO/CQtl/7k7pmErjcq+t7V0=.RwqkXF3OVdnoW/rURKLx9w==' + value: 'secure!JSjVxtqJWZ5+mNfIIT3aPiqpo0/xTyOoeSI6MFyViZY=.xQwDwzONGDKV1UY65gvuPw==' type: 'VAR' encrypted: true actions: diff --git a/.buddy/ci.yml b/.buddy/ci.yml index f27a150..5157f40 100644 --- a/.buddy/ci.yml +++ b/.buddy/ci.yml @@ -1,9 +1,16 @@ - pipeline: 'CI' - on: 'CLICK' - refs: - - 'refs/heads/*' + on: 'EVENT' + events: + - type: 'PUSH' + refs: + - 'refs/heads/*' priority: 'NORMAL' fail_on_prepare_env_warning: true + variables: + - key: 'CODECOV_TOKEN' + value: 'secure!98lZjvc3CKurbTtXVlQH16aV+fYmfEppicIF3doKpeL2eYhd9snLO+0n+srjBlL+.EciZ7pJQwo9GJwIabNI6dw==' + type: 'VAR' + encrypted: true actions: - action: 'Build dependencies' type: 'BUILD' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8a8be9f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,38 +0,0 @@ -dist: focal - -language: node_js - -node_js: - - '18' - - '16' - - '14' - -cache: - directories: - - '$HOME/.npm' - - '.eslintcache' - -if: tag IS blank # do not build tags - -notifications: - slack: - secure: 'hBzS5QRVvZBjWfXFXzexJq2SRdhrN+DQyQJeRrZTgpBCCthMIPQD0VkMTJBAH9IT/ZyRSEKtQO8PwEyiEKu5v+zD1NBSYnQsm5bD70SJJL0kJHQ6h+7yXcxmrec8Q9Giyvd+fDD1zRZK0ORP/bbV00/pzdo21bvkKMZeuemrNxc3f/PeA0B1Hg5m3KkE1LfpRhERv0EFhPc7Pt2mcNVr715wvDEvB17jcsRwfr2quYnE85gJRhWoy30XPkjeiAJVZowKE6Q6GVJXivbukoFzYTpVUaLy5YG7M4WZ962Yoobvph8ro8OkMNp4T7m2snEK/q1M8M6/9xR7M+P70IO62Nfxi/Lj5pXRBEiagQIkH97hLLaT4CCjXip0j8udDx8UzIanOjfiNIfTAfjfTBNevVNfoHYuh4vC7zDsu0G4OV2AoPyLe2lb85c1qeh6tynfGN56nmz5Zuntf8xVK6EwSswzKksm7LaJRwtxkuJzBrR1Qp2kY9wEq7qeMQ2boA8B68c0fe5YQ+83gX04+U5uDdVKxgWAIqy9vaERrWuGtfK83/ox1wdIxDCnevsIkGwmsX7GYuAqpOuA0/UZZDat7XkHiqipUglfSVTm1TImQKhyWyTlbx6aIjzzpO8vkkYGptx9iBxMSYGmjig23rPC4BaFnd/r34tcBuvU5X/WpXk=' - -install: - - npm ci --ignore-scripts - - env -i PATH=$PATH npm rebuild - -script: - - npm test - - npm run cover - -after_success: - - bash <(curl -s https://codecov.io/bash) - -deploy: - provider: script - skip_cleanup: true - script: semantic-release - on: - node_js: '16' - all_branches: true