From 5f78d824aca072d18e1e3271aac56d01ea8fb1e1 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Wed, 11 Sep 2019 23:44:21 -0400 Subject: [PATCH 1/3] Swap Travis CI badge with GitHub Actions badge Since it's still in a private beta, we can't link to anything useful so the link has been dropped --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2bc71722bb..d2d89e2eee 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ Select2 ======= -[![Build Status][travis-ci-image]][travis-ci-status] +![Build Status][github-actions-image] [![cdnjs](https://img.shields.io/cdnjs/v/select2.svg)][cdnjs] [![jsdelivr](https://data.jsdelivr.com/v1/package/npm/select2/badge)][jsdelivr] @@ -93,6 +93,7 @@ The license is available within the repository in the [LICENSE][license] file. [documentation]: https://select2.org [documentation-repository]: https://github.com/select2/docs [freenode]: https://freenode.net/ +[github-actions-image]: https://github.com/select2/select2/workflows/CI/badge.svg [jsdelivr]: https://www.jsdelivr.com/package/npm/select2 [license]: LICENSE.md [releases]: https://github.com/select2/select2/releases From 3bc5e4ee401ce4fecf9c9ed80540cb806462ce25 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Wed, 11 Sep 2019 23:48:01 -0400 Subject: [PATCH 2/3] Update README with new docs location --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d2d89e2eee..0d44eaa9af 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,8 @@ make a pull request back to Select2 here on GitHub. Documentation ------------- The documentation for Select2 is available -[through GitHub Pages][documentation] and is located within the [separate `select2/docs` repository][documentation-repository]. +[online at the documentation website][documentation] and is located within the +[`docs` directory of this repository][documentation-directory]. Community --------- @@ -91,14 +92,12 @@ The license is available within the repository in the [LICENSE][license] file. [cdnjs]: http://www.cdnjs.com/libraries/select2 [community]: https://select2.org/getting-help [documentation]: https://select2.org -[documentation-repository]: https://github.com/select2/docs +[documentation-directory]: https://github.com/select2/select2/tree/develop/docs [freenode]: https://freenode.net/ [github-actions-image]: https://github.com/select2/select2/workflows/CI/badge.svg [jsdelivr]: https://www.jsdelivr.com/package/npm/select2 [license]: LICENSE.md [releases]: https://github.com/select2/select2/releases -[travis-ci-image]: https://img.shields.io/travis/select2/select2/master.svg -[travis-ci-status]: https://travis-ci.org/select2/select2 [angularjs]: https://angularjs.org/ [bootstrap3]: https://getbootstrap.com/ From 2e4c11339c819154d9b7815637ca772aa55278f9 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Wed, 11 Sep 2019 23:49:02 -0400 Subject: [PATCH 3/3] Disable deploying to GPM We have to wait to be cleared for the private beta access first before we can actually deploy to this. --- .github/workflows/package-deploy.yml | 54 ++++++++++++++-------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/package-deploy.yml b/.github/workflows/package-deploy.yml index 63e5124170..146c70522b 100644 --- a/.github/workflows/package-deploy.yml +++ b/.github/workflows/package-deploy.yml @@ -8,33 +8,33 @@ on: release: ~ jobs: - deploy_github: - name: GitHub Package Registry - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: Use Node.js 8 - uses: actions/setup-node@v1 - with: - node-version: 8 - registry-url: https://npm.pkg.github.com/ - scope: '@select2' - - name: npm install - run: npm install - - name: Run linting, tests, minify - run: grunt - - name: Deploy (release) - if: github.event_name == 'release' - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} - - name: Deploy (release candidate) - if: github.event_name == 'push' - run: | - npm --no-git-tag-version version prerelease - npm publish --tag next - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + # deploy_github: + # name: GitHub Package Registry + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v1 + # - name: Use Node.js 8 + # uses: actions/setup-node@v1 + # with: + # node-version: 8 + # registry-url: https://npm.pkg.github.com/ + # scope: '@select2' + # - name: npm install + # run: npm install + # - name: Run linting, tests, minify + # run: grunt + # - name: Deploy (release) + # if: github.event_name == 'release' + # run: npm publish + # env: + # NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + # - name: Deploy (release candidate) + # if: github.event_name == 'push' + # run: | + # npm --no-git-tag-version version prerelease + # npm publish --tag next + # env: + # NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} deploy_npm: name: NPM runs-on: ubuntu-latest