-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix whitespace * (actions) add GH actions; update travis * Fix missing semi-colon * Drop unused concat task and related * Add tests * Run tests in CI * (travis) remove travis * (lint) ignore in grunt config * don't use outdated cdn in browser tests * (actions) build needs to be in sync with library * build; add package-lock.json * Remove bower.json
- Loading branch information
1 parent
2dc003c
commit a5afc76
Showing
22 changed files
with
12,696 additions
and
417 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches-ignore: | ||
- develop | ||
|
||
jobs: | ||
ci: | ||
name: ${{ matrix.node_version }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node_version: [14, 16] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
- name: Install grunt-cli | ||
run: npm install -g grunt-cli | ||
- name: Install | ||
run: npm install | ||
- name: Build | ||
run: npm run build | ||
- name: Test | ||
run: npm test | ||
- name: Build Check | ||
run: | | ||
echo -e "\e[1m\e[35mChecking build folder is up-to-date with library\e[0m" | ||
changed_build_files=$(git -C "$(git rev-parse --show-toplevel)" diff --name-only HEAD -- build) | ||
if [ -n "$changed_build_files" ] | ||
then | ||
echo -e "\e[1m\e[31mBuild folder is out-of-sync with library. Build library, npm run build, and (ammend) commit\e[0m" | ||
exit 1 | ||
else | ||
echo -e "\e[1m\e[32mBuild folder is up-to-date with library\e[0m" | ||
fi |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.