Skip to content

Commit

Permalink
Merge pull request #172 from yvesgurcan/optimize-example-build
Browse files Browse the repository at this point in the history
Optimize example build
  • Loading branch information
yvesgurcan authored Feb 22, 2020
2 parents 2fecdbf + df6faa1 commit e3ffe78
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 2,482 deletions.
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

## Checklist

*All tasks below must be performed in addition to automated CI/CD checks.*
*All the relevant tasks below must be performed in addition to automated CI/CD checks.*

- [ ] Changes are documented.
- [ ] Tests were added, deleted, and/or updated.
- [ ] Version was bumped with `npm run upgrade:patch`, `npm run upgrade:minor` or `npm run upgrade:major`
- [ ] Example was updated (if applicable).
- [ ] Example was updated.

## Issue(s) adressed

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up workflow
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
ref: ${{ github.head_ref }}
- name: Set up Node environment
uses: actions/setup-node@v1
with:
Expand All @@ -27,10 +27,15 @@ jobs:
run: npm run build
- name: Update documentation
run: npm run docs
- name: Build React example
run: |
cd example/react
npm ci
npm run build
- name: Push code changes
uses: stefanzweifel/[email protected]
with:
commit_message: New build
branch: ${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<title>
web-midi-player 1.3.4 |
web-midi-player 1.3.5 |
Documentation
</title>

Expand All @@ -24,7 +24,7 @@ <h3 class="mb0 no-anchor project-name">
<code>web-midi-player</code>
</h3>
<div class="mb1">
<code>1.3.4</code>
<code>1.3.5</code>
|
<a href="https://midi.yvesgurcan.com">README</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion example/react/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
</head>
<body>
<div id="app"></div>
<script type="text/javascript" src="main.4f65a723f275340d45d8.js"></script></body>
<script type="text/javascript" src="main.83e1a633359985224fb8.js"></script></body>
</html>
1,265 changes: 0 additions & 1,265 deletions example/react/main.4f65a723f275340d45d8.js

This file was deleted.

53 changes: 53 additions & 0 deletions example/react/main.83e1a633359985224fb8.js

Large diffs are not rendered by default.

1,208 changes: 0 additions & 1,208 deletions example/react/main.da8ffa3d9ab27af9a076.js

This file was deleted.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-midi-player",
"version": "1.3.4",
"version": "1.3.5",
"description": "🎹 Event-driven JavaScript library to enable MIDI playback in the browser.",
"keywords": [
"midi",
Expand Down

0 comments on commit e3ffe78

Please sign in to comment.