Disable deploying to GPM
We have to wait to be cleared for the private beta access first before we can actually deploy to this.
This commit is contained in:
parent
3bc5e4ee40
commit
2e4c11339c
54
.github/workflows/package-deploy.yml
vendored
54
.github/workflows/package-deploy.yml
vendored
@ -8,33 +8,33 @@ on:
|
|||||||
release: ~
|
release: ~
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy_github:
|
# deploy_github:
|
||||||
name: GitHub Package Registry
|
# name: GitHub Package Registry
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v1
|
# - uses: actions/checkout@v1
|
||||||
- name: Use Node.js 8
|
# - name: Use Node.js 8
|
||||||
uses: actions/setup-node@v1
|
# uses: actions/setup-node@v1
|
||||||
with:
|
# with:
|
||||||
node-version: 8
|
# node-version: 8
|
||||||
registry-url: https://npm.pkg.github.com/
|
# registry-url: https://npm.pkg.github.com/
|
||||||
scope: '@select2'
|
# scope: '@select2'
|
||||||
- name: npm install
|
# - name: npm install
|
||||||
run: npm install
|
# run: npm install
|
||||||
- name: Run linting, tests, minify
|
# - name: Run linting, tests, minify
|
||||||
run: grunt
|
# run: grunt
|
||||||
- name: Deploy (release)
|
# - name: Deploy (release)
|
||||||
if: github.event_name == 'release'
|
# if: github.event_name == 'release'
|
||||||
run: npm publish
|
# run: npm publish
|
||||||
env:
|
# env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
- name: Deploy (release candidate)
|
# - name: Deploy (release candidate)
|
||||||
if: github.event_name == 'push'
|
# if: github.event_name == 'push'
|
||||||
run: |
|
# run: |
|
||||||
npm --no-git-tag-version version prerelease
|
# npm --no-git-tag-version version prerelease
|
||||||
npm publish --tag next
|
# npm publish --tag next
|
||||||
env:
|
# env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
deploy_npm:
|
deploy_npm:
|
||||||
name: NPM
|
name: NPM
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user