mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Update ci (#2307)
This commit is contained in:
parent
3c2c826ad7
commit
9749bb1fb1
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@ -177,10 +177,6 @@ jobs:
|
|||||||
needs: browser-test
|
needs: browser-test
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 12
|
|
||||||
registry-url: 'https://npm.pkg.github.com'
|
|
||||||
- name: Download NPM package
|
- name: Download NPM package
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -200,7 +196,7 @@ jobs:
|
|||||||
tag_name: ${{ github.ref }}
|
tag_name: ${{ github.ref }}
|
||||||
release_name: ${{ github.ref }}
|
release_name: ${{ github.ref }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: ${{ contains(github.ref, '-rc.') || contains(github.ref, '-alpha.') }}
|
||||||
- name: Upload html2canvas.js
|
- name: Upload html2canvas.js
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
@ -230,10 +226,22 @@ jobs:
|
|||||||
asset_content_type: text/javascript
|
asset_content_type: text/javascript
|
||||||
- name: Unpack npm
|
- name: Unpack npm
|
||||||
run: cd npm && tar -xvzf "html2canvas.tgz"
|
run: cd npm && tar -xvzf "html2canvas.tgz"
|
||||||
|
- uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 12
|
||||||
|
registry-url: 'https://npm.pkg.github.com'
|
||||||
- name: NPM Publish (github)
|
- name: NPM Publish (github)
|
||||||
run: npm publish
|
run: cd package && npm publish
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 12
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
# - name: NPM Publish
|
||||||
|
# run: cd package && npm publish public
|
||||||
|
# env:
|
||||||
|
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
docs:
|
docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Build docs
|
name: Build docs
|
||||||
@ -282,8 +290,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: docs
|
name: docs
|
||||||
path: www/public
|
path: www/public
|
||||||
- name: Echo
|
|
||||||
run: echo ${{ github.ref }}
|
|
||||||
publish-docs:
|
publish-docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Publish Docs
|
name: Publish Docs
|
||||||
|
@ -4,7 +4,7 @@ html2canvas
|
|||||||
[Homepage](https://html2canvas.hertzen.com) | [Downloads](https://github.com/niklasvh/html2canvas/releases) | [Questions](http://stackoverflow.com/questions/tagged/html2canvas?sort=newest)
|
[Homepage](https://html2canvas.hertzen.com) | [Downloads](https://github.com/niklasvh/html2canvas/releases) | [Questions](http://stackoverflow.com/questions/tagged/html2canvas?sort=newest)
|
||||||
|
|
||||||
[](https://gitter.im/niklasvh/html2canvas?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
[](https://gitter.im/niklasvh/html2canvas?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||||
[](https://dev.azure.com/niklasvh/html2canvas/_build/latest?definitionId=1&branchName=master)
|

|
||||||
[](https://www.npmjs.org/package/html2canvas)
|
[](https://www.npmjs.org/package/html2canvas)
|
||||||
[](https://www.npmjs.org/package/html2canvas)
|
[](https://www.npmjs.org/package/html2canvas)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user