-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Prune and Upgrade Dependencies; Add Github Actions #242
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
271e670
Begin excising underscore for vanilla js
zalo 267d338
Eliminate usages of underscore
zalo f076cd2
Expunge underscore from lib requires
zalo 6b0ffc9
Excise ES5 syntactic sugar to placate UglifyJS
zalo 18d624b
Complete the excision of Underscore.js
zalo 6ea23b1
Update three.js
zalo 8b49725
Update Old Packages
zalo 5575820
Discover `./node_modules/.bin/grunt default`
zalo 1eaf30b
Excise Gestures, Fix Tests
zalo c6d2ad0
Fix running tests
zalo 8eb980a
Fix non-browser tests too
zalo 040f3f6
Add Github Action for Building Library/Running Tests
zalo 4d74c9e
Build leapjs
actions-user 8a9873d
See if errors can be suppressed...
zalo 2e03509
Merge branch 'update-2020' of https://github.com/leapmotion/leapjs in…
zalo ce3db33
Suppress Pushing Errors again...
zalo 874aecc
Mostly remove tools
zalo 1c767be
Finish excising Tool Objects
zalo e60d3d5
Build Leap.js
actions-user ee9cd4e
Fix half of the npm audit issues...
zalo 48721d2
Merge branch 'update-2020' of https://github.com/leapmotion/leapjs in…
zalo eaa2051
Fix all npm package vulnerabilities
zalo a62f77a
Build Leap.js
actions-user 835f910
Cleanup test browser.html for mocha-chrome-headless
RecursiveCptHook 0e0e13d
Updated package-lock from clean install
RecursiveCptHook 312ea67
Updated leap.js build outputs
RecursiveCptHook dad1d3b
Merge pull request #244 from leapmotion/update-2020-tweaks
zalo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: leapjs - Build Library and Run Unit Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: Build Library and Run Unit Tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
# Checkout | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
# Install Node | ||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
|
||
# Install Dependencies | ||
- name: Install NPM Dependencies | ||
run: npm ci | ||
|
||
# Build and Run Tests | ||
- name: Build Library and Run Tests | ||
run: ./node_modules/.bin/grunt test | ||
|
||
# Commit All Build Artifacts | ||
- name: Commit Build Artifacts | ||
run: | | ||
git config --local user.email "action@github.com" | ||
git config --local user.name "GitHub Action" | ||
set +e | ||
git add * | ||
git diff-index --quiet HEAD || git commit -m "Build Leap.js" | ||
|
||
# Push Build Artifacts | ||
- name: Push Changes to branch | ||
id: push-build | ||
uses: ad-m/github-push-action@master | ||
continue-on-error: true | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: ${{ github.ref }} | ||
|
||
# Reenable Errors | ||
- name: Clean Up | ||
if: steps.push-build.outcome == 'success' && steps.push-build.conclusion == 'success' | ||
run: set -e |
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 👍