feat: initial version
This commit is contained in:
parent
46819c6a3f
commit
6e4ad001a5
|
@ -0,0 +1,11 @@
|
||||||
|
version: 2.1
|
||||||
|
|
||||||
|
description: >
|
||||||
|
Default Node CI Deploy Configuration for Lume Web repos
|
||||||
|
# What will your orb allow users to accomplish?
|
||||||
|
# Descriptions should be short, simple, and informative.
|
||||||
|
|
||||||
|
# If your orb requires other orbs, you can import them like this. Otherwise remove the "orbs" stanza.
|
||||||
|
orbs:
|
||||||
|
node: circleci/node@5.1.0
|
||||||
|
ssh: credijusto/ssh@0.5.2
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) <year> <copyright holders>
|
Copyright (c) 2023 Hammer Technologies LLC
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
steps:
|
||||||
|
- node/run:
|
||||||
|
name: Build
|
||||||
|
npm-run: build
|
||||||
|
post-steps:
|
||||||
|
- persist_to_workspace:
|
||||||
|
root: .
|
||||||
|
paths:
|
||||||
|
- lib/
|
|
@ -0,0 +1,23 @@
|
||||||
|
steps:
|
||||||
|
- node/run:
|
||||||
|
name: Publish
|
||||||
|
npm-run: semantic-release
|
||||||
|
requires:
|
||||||
|
- build
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
- /^develop-.*$/
|
||||||
|
|
||||||
|
context:
|
||||||
|
- publish
|
||||||
|
setup:
|
||||||
|
- attach_workspace:
|
||||||
|
at: ./
|
||||||
|
- add_ssh_keys:
|
||||||
|
fingerprints:
|
||||||
|
- "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9"
|
||||||
|
- ssh/ssh-add-host:
|
||||||
|
host_url: GITEA_HOST
|
Reference in New Issue