forked from new-xkit/XKit
-
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.
* remove gulp-eslint, gulp lint command * update build docs
- Loading branch information
1 parent
564118f
commit 19e15de
Showing
5 changed files
with
21 additions
and
108 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 |
---|---|---|
|
@@ -11,35 +11,46 @@ on: | |
jobs: | ||
build: | ||
name: Autobuild extensions | ||
if: github.repository == 'new-xkit/XKit' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Use Node.js 12 | ||
uses: actions/setup-node@v1 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 12 | ||
node-version: 14 | ||
|
||
- name: Configure git | ||
run: | | ||
git config --global user.name "github-actions" | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
- name: Fetch and reset gh-pages | ||
run: | | ||
git remote set-branches --add origin gh-pages | ||
git fetch | ||
git checkout -f -t -b gh-pages origin/gh-pages | ||
git reset --hard master | ||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run tests | ||
run: npm test | ||
|
||
- name: Install gulp-cli | ||
run: npm install gulp-cli | ||
|
||
- name: Build distribution | ||
run: gulp build | ||
|
||
- name: Commit changes | ||
run: | | ||
git add --force Extensions/ | ||
git commit -m 'Rebuild Distribution' | ||
- name: Force-push to gh-pages | ||
run: git push -f |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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