Skip to content

Commit

Permalink
Release & Canary release pipeline fixes (#2072)
Browse files Browse the repository at this point in the history
* fixes

* fixes

* try to fix

* fixes

* fixes

* release and canary fixes

* fixes

* added changesets for recent packages
  • Loading branch information
dotansimha committed Sep 30, 2020
1 parent 95d5483 commit 32c3c4f
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 48 deletions.
6 changes: 6 additions & 0 deletions .changeset/big-poems-build.md
@@ -0,0 +1,6 @@
---
'@graphql-tools/stitch': patch
'@graphql-tools/wrap': patch
---

enhance(HoistFields): allow arguments
5 changes: 5 additions & 0 deletions .changeset/friendly-bugs-tan.md
@@ -0,0 +1,5 @@
---
'@graphql-tools/import': patch
---

feat(import): support specifiedBy builtin directive
6 changes: 6 additions & 0 deletions .changeset/grumpy-ducks-clean.md
@@ -0,0 +1,6 @@
---
'@graphql-tools/merge': patch
'@graphql-tools/utils': patch
---

Fix duplication of scalar directives in merge
5 changes: 5 additions & 0 deletions .changeset/little-penguins-tan.md
@@ -0,0 +1,5 @@
---
'@graphql-tools/merge': patch
---

Support scalar extensions by merging directives
6 changes: 6 additions & 0 deletions .changeset/ninety-ducks-sleep.md
@@ -0,0 +1,6 @@
---
'@graphql-tools/delegate': patch
'@graphql-tools/stitch': patch
---

enhance(stitching): improve error message for unknown types
1 change: 0 additions & 1 deletion .changeset/yellow-camels-nail.md
Expand Up @@ -27,7 +27,6 @@
'@graphql-tools/load-files': patch
'@graphql-tools/utils': patch
'@graphql-tools/webpack-loader-runtime': patch
'@graphql-tools/website': patch
---

Bump all packages to allow adjustments
15 changes: 11 additions & 4 deletions .github/workflows/canary.yml
@@ -1,24 +1,31 @@
name: Canary Release

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
publish-canary:
name: Publish Canary
runs-on: ubuntu-latest
if: contains(github.actor, 'dependabot') == false
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- name: Checkout Master
uses: actions/checkout@v1
- name: Use Node
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Configure Git Credentials
run: |
git config --global user.email "theguild-bot@users.noreply.github.com"
git config --global user.name "theguild-bot"
echo "machine github.com login theguild-bot password ${{secrets.GH_API_TOKEN}}" > ~/.netrc
- name: Setup NPM credentials
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
@@ -1,7 +1,8 @@
name: NPM Release
name: Release
on:
release:
types: [published]
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
Expand Down
Expand Up @@ -5,22 +5,22 @@ index 2805efd..a1822ea 100644
@@ -488,7 +488,7 @@ async function version(cwd, options, config) {
// @ts-ignore
var isCI = !!(isCI$1 || process.env.GITHUB_ACTIONS);

-const npmRequestLimit = pLimit(40);
+const npmRequestLimit = pLimit(3);

function jsonParse(input) {
try {
diff --git a/node_modules/@changesets/cli/dist/cli.cjs.prod.js b/node_modules/@changesets/cli/dist/cli.cjs.prod.js
index e07a234..1bb957d 100644
--- a/node_modules/@changesets/cli/dist/cli.cjs.prod.js
+++ b/node_modules/@changesets/cli/dist/cli.cjs.prod.js
@@ -311,7 +311,7 @@ async function version(cwd, options, config) {

var isCI = !(!isCI$1 && !process.env.GITHUB_ACTIONS);

-const npmRequestLimit = pLimit(40);
+const npmRequestLimit = pLimit(3);

function jsonParse(input) {
try {
35 changes: 0 additions & 35 deletions yarn.lock
Expand Up @@ -2918,14 +2918,6 @@
"@typescript-eslint/typescript-estree" "4.3.0"
debug "^4.1.1"

"@typescript-eslint/scope-manager@4.2.0":
version "4.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.2.0.tgz#d10e6854a65e175b22a28265d372a97c8cce4bfc"
integrity sha512-Tb402cxxObSxWIVT+PnBp5ruT2V/36yj6gG4C9AjkgRlZpxrLAzWDk3neen6ToMBGeGdxtnfFLoJRUecGz9mYQ==
dependencies:
"@typescript-eslint/types" "4.2.0"
"@typescript-eslint/visitor-keys" "4.2.0"

"@typescript-eslint/scope-manager@4.3.0":
version "4.3.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.3.0.tgz#c743227e087545968080d2362cfb1273842cb6a7"
Expand All @@ -2934,30 +2926,11 @@
"@typescript-eslint/types" "4.3.0"
"@typescript-eslint/visitor-keys" "4.3.0"

"@typescript-eslint/types@4.2.0":
version "4.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.2.0.tgz#6f6b094329e72040f173123832397c7c0b910fc8"
integrity sha512-xkv5nIsxfI/Di9eVwN+G9reWl7Me9R5jpzmZUch58uQ7g0/hHVuGUbbn4NcxcM5y/R4wuJIIEPKPDb5l4Fdmwg==

"@typescript-eslint/types@4.3.0":
version "4.3.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.3.0.tgz#1f0b2d5e140543e2614f06d48fb3ae95193c6ddf"
integrity sha512-Cx9TpRvlRjOppGsU6Y6KcJnUDOelja2NNCX6AZwtVHRzaJkdytJWMuYiqi8mS35MRNA3cJSwDzXePfmhU6TANw==

"@typescript-eslint/typescript-estree@4.2.0":
version "4.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.2.0.tgz#9d746240991c305bf225ad5e96cbf57e7fea0551"
integrity sha512-iWDLCB7z4MGkLipduF6EOotdHNtgxuNKnYD54nMS/oitFnsk4S3S/TE/UYXQTra550lHtlv9eGmp+dvN9pUDtA==
dependencies:
"@typescript-eslint/types" "4.2.0"
"@typescript-eslint/visitor-keys" "4.2.0"
debug "^4.1.1"
globby "^11.0.1"
is-glob "^4.0.1"
lodash "^4.17.15"
semver "^7.3.2"
tsutils "^3.17.1"

"@typescript-eslint/typescript-estree@4.3.0":
version "4.3.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.3.0.tgz#0edc1068e6b2e4c7fdc54d61e329fce76241cee8"
Expand All @@ -2972,14 +2945,6 @@
semver "^7.3.2"
tsutils "^3.17.1"

"@typescript-eslint/visitor-keys@4.2.0":
version "4.2.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.2.0.tgz#ae13838e3a260b63ae51021ecaf1d0cdea8dbba5"
integrity sha512-WIf4BNOlFOH2W+YqGWa6YKLcK/EB3gEj2apCrqLw6mme1RzBy0jtJ9ewJgnrZDB640zfnv8L+/gwGH5sYp/rGw==
dependencies:
"@typescript-eslint/types" "4.2.0"
eslint-visitor-keys "^2.0.0"

"@typescript-eslint/visitor-keys@4.3.0":
version "4.3.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.3.0.tgz#0e5ab0a09552903edeae205982e8521e17635ae0"
Expand Down

0 comments on commit 32c3c4f

Please sign in to comment.