ci: switch to github actions

This commit is contained in:
Derrick Hammer 2023-06-25 00:56:31 -04:00
parent 1f8d48d5ea
commit 1f9e41d706
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 7 additions and 45 deletions

View File

@ -1,45 +0,0 @@
version: 2.1
orbs:
node: circleci/node@5.1.0
ssh: credijusto/ssh@0.5.2
workflows:
release:
jobs:
- node/run:
name: build
npm-run: build
post-steps:
- persist_to_workspace:
root: .
paths:
- lib/
filters:
branches:
only:
- master
- develop
- /^develop-.*$/
- node/run:
name: release
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

7
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,7 @@
name: Build/Publish
on: push
jobs:
main:
uses: lumeweb/github-node-deploy-workflow/blob/master/.github/workflows/main.yml@master
secrets: inherit