-
Notifications
You must be signed in to change notification settings - Fork 129
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 #340 from spencermountain/dev
Dev
- Loading branch information
Showing
310 changed files
with
36,303 additions
and
23,954 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
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,39 @@ | ||
name: Build and test | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [10.x, 13.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: use node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: cache dependencies | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-npm-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-npm-${{ matrix.node-version }}- | ||
${{ runner.os }}-npm- | ||
- name: npm install, build, and test | ||
run: | | ||
npm ci | ||
npm i --no-save eslint | ||
npm run lint | ||
npm run build | ||
npm run testb | ||
npm run test:fetch | ||
env: | ||
CI: true |
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,56 @@ | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
CI: true | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.x | ||
|
||
- name: cache dependencies | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-npm-10.x-${{ hashFiles('package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-npm-10.x- | ||
${{ runner.os }}-npm- | ||
- name: install | ||
run: | | ||
npm ci | ||
npm i --no-save eslint | ||
npm run plugins:ci | ||
- name: static checks | ||
run: | | ||
npm run lint | ||
- name: build | ||
run: | | ||
npm run build | ||
- name: test | ||
run: | | ||
npm run testb | ||
npm run test:fetch | ||
# And finally... publish it! Note that we create the .npmrc file | ||
# "just in time" so that `npm publish` can get the auth token from the | ||
# environment | ||
- name: publish | ||
run: | | ||
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc | ||
npm publish | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 |
---|---|---|
|
@@ -5,7 +5,6 @@ coverage | |
coverage.lcov | ||
codecov.yml | ||
npm-debug.log | ||
package-lock.json | ||
.nyc_output | ||
*.DS_Store | ||
*.tsv |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
tests/ | ||
demo/ | ||
plugins/ | ||
tests/ | ||
scripts/ | ||
examples/ | ||
.babelrc | ||
.esformatter | ||
.eslintrc | ||
.gitignore | ||
Icon | ||
scratch.js | ||
*.tsv | ||
changelog.md | ||
contributing.md |
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
Oops, something went wrong.