diff --git a/.circleci/config.yml b/.circleci/config.yml index edf9af6..421ece7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,46 +1,46 @@ ---- -version: 2 -jobs: - node-latest: &test - docker: - - image: node:14 - working_directory: ~/cli - steps: - - checkout - - restore_cache: &restore_cache - keys: - - v1-npm-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}} - - v1-npm-{{checksum ".circleci/config.yml"}} - - run: - name: Install dependencies - command: .circleci/greenkeeper - - run: ./bin/run --help - - run: - name: Installing Heroku CLI - command: curl https://cli-assets.heroku.com/install.sh | sh - - run: - name: Setting up plugin and manifet - command: yarn global add oclif && heroku plugins:link - - run: - name: Testing - command: yarn test - - run: - name: Running nyc code coverage - command: ./node_modules/.bin/nyc report --reporter text-lcov > coverage.lcov - - save_cache: - key: v1-yarn-{{checksum ".circleci/config.yml"}}-{{checksum "yarn.lock"}} - paths: - - ~/cli/node_modules - - /usr/local/share/.cache/yarn - - /usr/local/share/.config/yarn - node-12: - <<: *test - docker: - - image: node:12 +# --- +# version: 2 +# jobs: +# node-latest: &test +# docker: +# - image: node:14 +# working_directory: ~/cli +# steps: +# - checkout +# - restore_cache: &restore_cache +# keys: +# - v1-npm-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}} +# - v1-npm-{{checksum ".circleci/config.yml"}} +# - run: +# name: Install dependencies +# command: .circleci/greenkeeper +# - run: ./bin/run --help +# - run: +# name: Installing Heroku CLI +# command: curl https://cli-assets.heroku.com/install.sh | sh +# - run: +# name: Setting up plugin and manifet +# command: yarn global add oclif && heroku plugins:link +# - run: +# name: Testing +# command: yarn test +# - run: +# name: Running nyc code coverage +# command: ./node_modules/.bin/nyc report --reporter text-lcov > coverage.lcov +# - save_cache: +# key: v1-yarn-{{checksum ".circleci/config.yml"}}-{{checksum "yarn.lock"}} +# paths: +# - ~/cli/node_modules +# - /usr/local/share/.cache/yarn +# - /usr/local/share/.config/yarn +# node-12: +# <<: *test +# docker: +# - image: node:12 -workflows: - version: 2 - "@heroku-cli/addons-admin": - jobs: - - node-latest - - node-12 +# workflows: +# version: 2 +# "@heroku-cli/addons-admin": +# jobs: +# - node-latest +# - node-12 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..42308a4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: Node CI Suite + +on: + push + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Use Nodejs 14 + uses: actions/setup-node@v3 + with: + node-version: 14.x + - name: Installing Heroku CLI + run: curl https://cli-assets.heroku.com/install.sh | sh + - name: Setting up plugin and manifest + run: yarn global add oclif && heroku plugins:link + - name: Install dependencies + run: yarn --frozen-lockfile + - name: Testing + run: yarn test + - name: Run nyc code coverage report + run: ./node_modules/.bin/nyc report --reporter text-lcov > coverage.lcov diff --git a/CODEOWNERS b/CODEOWNERS index 522fa4a..0e36df1 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1,2 +1,5 @@ -# Comment line immediately above ownership line is reserved for related gus information. Please be careful while editing. +# Lines starting with '#' are comments. +# Each line is a file pattern followed by one or more owners. +# These owners will be the default owners for everything in the repo. +* @heroku/front-end #ECCN:Open Source diff --git a/README.md b/README.md index 3777fc9..c7e29ea 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ Heroku CLI plugin to help Heroku add-on providers integrate their services with Heroku. [![Version](https://img.shields.io/npm/v/@heroku-cli/plugin-addons-admin.svg)](https://www.npmjs.com/package/@heroku-cli/plugin-addons-admin) -[![CircleCI](https://circleci.com/gh/heroku/heroku-cli-addons-admin/tree/master.svg?style=svg&circle-token=db696925a68c516a4f432c64530c5df9ba305b16)](https://circleci.com/gh/heroku/heroku-cli-addons-admin/tree/master) [![Downloads/week](https://img.shields.io/npm/dw/@heroku-cli/plugin-addons-admin.svg)](https://npmjs.org/package/@heroku-cli/plugin-addons-admin) [![License](https://img.shields.io/npm/l/@heroku-cli/plugin-addons-admin.svg)](https://github.com/heroku/heroku-cli-addons-admin/blob/master/package.json)