diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 0a19018f..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,56 +0,0 @@ -version: 2.1 - -orbs: - plugin-ci: mattermost/plugin-ci@volatile - -workflows: - version: 2 - nightly: - triggers: - - schedule: - cron: "0 0 * * *" - filters: - branches: - only: - - master - jobs: - - plugin-ci/lint - - plugin-ci/test - - plugin-ci/build - ci: - jobs: - - plugin-ci/lint: - filters: - tags: - only: /^v.*/ - - plugin-ci/test: - filters: - tags: - only: /^v.*/ - - plugin-ci/build: - filters: - tags: - only: /^v.*/ - - plugin-ci/coverage: - requires: - - plugin-ci/test - - plugin-ci/deploy-ci: - filters: - branches: - only: master - context: plugin-ci - requires: - - plugin-ci/lint - - plugin-ci/test - - plugin-ci/build - - plugin-ci/deploy-release-github: - filters: - tags: - only: /^v.*/ - branches: - ignore: /.*/ - context: matterbuild-github-token - requires: - - 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 00000000..0268c8b1 --- /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 00000000..4752d377 --- /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 00000000..049c407a --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +14.21.1 diff --git a/lock-missing.txt b/lock-missing.txt new file mode 100644 index 00000000..2b3bf76f --- /dev/null +++ b/lock-missing.txt @@ -0,0 +1 @@ +mattermost-plugin-autolink