diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 3ac9a09..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2.1 - -orbs: - plugin-ci: mattermost/plugin-ci@0.1.12 - -workflows: - version: 2 - ci: - jobs: - - plugin-ci/lint - - plugin-ci/test - - plugin-ci/build diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..0268c8b --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,18 @@ +name: cd +on: + workflow_run: + workflows: ["ci"] + branches-ignore: ["*"] + types: + - completed + push: + tags: + - "^v.*" + +permissions: + contents: read + +jobs: + plugin-cd: + uses: mattermost/actions-workflows/.github/workflows/plugin-cd.yml@main + secrets: inherit diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4752d37 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: ci +on: + schedule: + - cron: "0 0 * * *" + push: + branches: + - master + tags: + - "^v.*" + pull_request: + +permissions: + contents: read + +jobs: + plugin-ci: + uses: mattermost/actions-workflows/.github/workflows/plugin-ci.yml@main + secrets: inherit diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..049c407 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +14.21.1