-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from move4mobile/develop
Update master
- Loading branch information
Showing
1 changed file
with
28 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,24 @@ jobs: | |
uses: actions/checkout@master | ||
with: | ||
fetch-depth: '0' | ||
# - name: Build project | ||
# run: | | ||
# zip --junk-paths docs JOURNAL.md ./examples/* | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: npm build | ||
run: | | ||
npm ci | ||
npm run build --if-present | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CI: true | ||
|
||
- name: Build project zip | ||
run: | | ||
zip -r dist ./dist/* | ||
- name: Bump version and push tag | ||
id: tag_release | ||
uses: anothrNick/[email protected] | ||
|
@@ -34,13 +49,13 @@ jobs: | |
draft: false | ||
prerelease: false | ||
|
||
# - name: Upload Release Asset | ||
# id: upload-release-asset | ||
# uses: actions/upload-release-asset@v1 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
# asset_path: ./docs.zip | ||
# asset_name: docs.zip | ||
# asset_content_type: application/zip | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist.zip | ||
asset_name: dist.zip | ||
asset_content_type: application/zip |