-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump @babel/core from 7.19.1 to 7.19.6 (#511) Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.19.1 to 7.19.6. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.19.6/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump commander from 9.4.0 to 9.4.1 (#503) Bumps [commander](https://github.com/tj/commander.js) from 9.4.0 to 9.4.1. - [Release notes](https://github.com/tj/commander.js/releases) - [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md) - [Commits](tj/commander.js@v9.4.0...v9.4.1) --- updated-dependencies: - dependency-name: commander dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump marked from 4.1.0 to 4.1.1 (#506) Bumps [marked](https://github.com/markedjs/marked) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/markedjs/marked/releases) - [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json) - [Commits](markedjs/marked@v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: marked dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [1-min] better package testing (#512) * Bump mocha from 9.2.2 to 10.1.0 (#509) * Bump sinon from 13.0.2 to 14.0.1 (#502) * Bump @babel/cli from 7.18.10 to 7.19.3 (#501) * Update dependabot.yml * Workflow test changes and drop support for node 12 (#535) * workflow test changes and drop support for node 12 * yarn install is still required * yarn install needed everywhere. updated checkout * did some breaking things (#540) * [1-min] add default param object (#553) * add default param object * added to chagelog * [1-min] watch the gql file to rebuild (#554) * watch the gql file * tidied up and fixed bug * added changelog * [1-min] allow anything but undefined examples (#555) * all null to be used as an example * reverted test/src/spectaql/index.test.js * added changelog * v1.5.7 * [1-min] optional do not fetch font (#556) * add option to not fetch google font * removed log * added to changelog * v1.5.8 * [1-min] update deps (#560) * v1.5.8 * update deps * changelog * v1.5.9 * removed external font support * support esm imports (#552) * dependabot * make them grunt deps our deps (#572) * tidy * subscriptions in operations (#573) * put Subscriptions near Operations * caching build * .gitignore in vendor-src * less noise from vendor script * allow embeddable and oneFile to be set in config (#574) * allow output to nowhere (#576) * Nested heading and accessibility (#541) * some more directive clarity (#577) * env sub support (#578) * examples on types (#580) * barlow removal (#579) * render default values for fields on more things (#581) * changelog * 2.0.0-beta.0 * readme * scripts * 2.0.0-beta.1 * Peer the Grunt deps (#586) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
41246ab
commit daad420
Showing
243 changed files
with
15,273 additions
and
1,459 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
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,42 +1,102 @@ | ||
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
|
||
name: CI Lint And Test | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
# Leave out to test branches off of branches | ||
# branches: [ main ] | ||
|
||
env: | ||
NODE_VERSION_MAJOR: 16 | ||
GITHUB_SHA: ${{ github.event.pull_request.head.sha }} | ||
TARBALL_PATH: test/e2e/spectaql.tgz | ||
|
||
jobs: | ||
|
||
prepare-node: | ||
name: Prepare Node | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ env.NODE_VERSION_MAJOR }}.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION_MAJOR }} | ||
cache: 'yarn' | ||
- run: yarn install | ||
|
||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
needs: prepare-node | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ env.NODE_VERSION_MAJOR }}.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
node-version: ${{ env.NODE_VERSION_MAJOR }} | ||
cache: 'yarn' | ||
|
||
- run: yarn install | ||
- run: yarn lint:quiet | ||
|
||
test: | ||
name: Test | ||
build-e2e-package: | ||
name: Build E2E Package | ||
runs-on: ubuntu-latest | ||
needs: prepare-node | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Cache Package Build | ||
id: cache-package-build | ||
uses: actions/cache@v3 | ||
with: | ||
# We'll cache this file | ||
path: ${{ env.TARBALL_PATH }} | ||
key: ${{ runner.os }}-node-v${{ env.NODE_VERSION_MAJOR }}-${{ env.GITHUB_SHA }} | ||
|
||
- name: Use Node.js ${{ env.NODE_VERSION_MAJOR }}.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION_MAJOR }} | ||
cache: 'yarn' | ||
|
||
- run: yarn install | ||
- run: yarn test-e2e:build | ||
|
||
unit-test-and-package-test: | ||
name: Unit Test & Package Test | ||
runs-on: ubuntu-latest | ||
needs: build-e2e-package | ||
strategy: | ||
matrix: | ||
node-version: [12.x, 14.x, 16.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
node-version: [14, 16, 18] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Cache Package Build | ||
id: cache-package-build | ||
uses: actions/cache@v3 | ||
with: | ||
# This is the file to cache / restore | ||
path: ${{ env.TARBALL_PATH }} | ||
key: ${{ runner.os }}-node-v${{ env.NODE_VERSION_MAJOR }}-${{ env.GITHUB_SHA }} | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'yarn' | ||
|
||
# Node 14 ships with a version of NPM that does not work for us | ||
- name: Optionally update NPM if needed | ||
if: ${{ matrix.node-version == '14' }} | ||
run: npm i -g npm@7 | ||
- run: yarn test-e2e:install-and-test | ||
- run: yarn install | ||
- run: yarn test |
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,10 +1,12 @@ | ||
dist/ | ||
vendor/ | ||
public | ||
node_modules | ||
scratch | ||
|
||
config-local.yml | ||
|
||
**/*.tgz | ||
**/.DS_STORE | ||
**/.DS_Store | ||
~* | ||
|
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 +1 @@ | ||
v12 | ||
v16 |
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 +1,3 @@ | ||
vendor/**/*.js | ||
vendor-src/**/*.js | ||
src/javascripts |
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
Oops, something went wrong.