Bumps [qs](https://github.com/ljharb/qs) to 6.11.0 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together. Updates `qs` from 6.7.0 to 6.11.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ljharb/qs/blob/main/CHANGELOG.md">qs's changelog</a>.</em></p> <blockquote> <h2><strong>6.11.0</strong></h2> <ul> <li>[New] [Fix] <code>stringify</code>: revert 0e903c0; add <code>commaRoundTrip</code> option (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/442">#442</a>)</li> <li>[readme] fix version badge</li> </ul> <h2><strong>6.10.5</strong></h2> <ul> <li>[Fix] <code>stringify</code>: with <code>arrayFormat: comma</code>, properly include an explicit <code>[]</code> on a single-item array (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/434">#434</a>)</li> </ul> <h2><strong>6.10.4</strong></h2> <ul> <li>[Fix] <code>stringify</code>: with <code>arrayFormat: comma</code>, include an explicit <code>[]</code> on a single-item array (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/441">#441</a>)</li> <li>[meta] use <code>npmignore</code> to autogenerate an npmignore file</li> <li>[Dev Deps] update <code>eslint</code>, <code>@ljharb/eslint-config</code>, <code>aud</code>, <code>has-symbol</code>, <code>object-inspect</code>, <code>tape</code></li> </ul> <h2><strong>6.10.3</strong></h2> <ul> <li>[Fix] <code>parse</code>: ignore <code>__proto__</code> keys (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/428">#428</a>)</li> <li>[Robustness] <code>stringify</code>: avoid relying on a global <code>undefined</code> (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/427">#427</a>)</li> <li>[actions] reuse common workflows</li> <li>[Dev Deps] update <code>eslint</code>, <code>@ljharb/eslint-config</code>, <code>object-inspect</code>, <code>tape</code></li> </ul> <h2><strong>6.10.2</strong></h2> <ul> <li>[Fix] <code>stringify</code>: actually fix cyclic references (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/426">#426</a>)</li> <li>[Fix] <code>stringify</code>: avoid encoding arrayformat comma when <code>encodeValuesOnly = true</code> (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/424">#424</a>)</li> <li>[readme] remove travis badge; add github actions/codecov badges; update URLs</li> <li>[Docs] add note and links for coercing primitive values (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/408">#408</a>)</li> <li>[actions] update codecov uploader</li> <li>[actions] update workflows</li> <li>[Tests] clean up stringify tests slightly</li> <li>[Dev Deps] update <code>eslint</code>, <code>@ljharb/eslint-config</code>, <code>aud</code>, <code>object-inspect</code>, <code>safe-publish-latest</code>, <code>tape</code></li> </ul> <h2><strong>6.10.1</strong></h2> <ul> <li>[Fix] <code>stringify</code>: avoid exception on repeated object values (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/402">#402</a>)</li> </ul> <h2><strong>6.10.0</strong></h2> <ul> <li>[New] <code>stringify</code>: throw on cycles, instead of an infinite loop (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/395">#395</a>, <a href="https://github-redirect.dependabot.com/ljharb/qs/issues/394">#394</a>, <a href="https://github-redirect.dependabot.com/ljharb/qs/issues/393">#393</a>)</li> <li>[New] <code>parse</code>: add <code>allowSparse</code> option for collapsing arrays with missing indices (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/312">#312</a>)</li> <li>[meta] fix README.md (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/399">#399</a>)</li> <li>[meta] only run <code>npm run dist</code> in publish, not install</li> <li>[Dev Deps] update <code>eslint</code>, <code>@ljharb/eslint-config</code>, <code>aud</code>, <code>has-symbols</code>, <code>tape</code></li> <li>[Tests] fix tests on node v0.6</li> <li>[Tests] use <code>ljharb/actions/node/install</code> instead of <code>ljharb/actions/node/run</code></li> <li>[Tests] Revert "[meta] ignore eclint transitive audit warning"</li> </ul> <h2><strong>6.9.7</strong></h2> <ul> <li>[Fix] <code>parse</code>: ignore <code>__proto__</code> keys (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/428">#428</a>)</li> <li>[Fix] <code>stringify</code>: avoid encoding arrayformat comma when <code>encodeValuesOnly = true</code> (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/424">#424</a>)</li> <li>[Robustness] <code>stringify</code>: avoid relying on a global <code>undefined</code> (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/427">#427</a>)</li> <li>[readme] remove travis badge; add github actions/codecov badges; update URLs</li> <li>[Docs] add note and links for coercing primitive values (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/408">#408</a>)</li> <li>[Tests] clean up stringify tests slightly</li> <li>[meta] fix README.md (<a href="https://github-redirect.dependabot.com/ljharb/qs/issues/399">#399</a>)</li> <li>Revert "[meta] ignore eclint transitive audit warning"</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|---|---|---|
| .. | ||
| .github/workflows | ||
| .dockerignore | ||
| Dockerfile | ||
| index.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Cloud Build - GitHub Actions
An example workflow that uses GitHub Actions to build a Hello World Node.js app container image using Cloud Build.
This code is intended to be an example. You will likely need to change or update values to match your setup.
Workflow description
For pushes to the main branch, this workflow will:
-
Download and configure the Google Cloud SDK with the provided credentials.
-
Build, tag, and push a container image to Google Container Registry.
-
The image is built using Cloud Build and pushed to Google Container Registry.
-
The image is available through the following tags:
latestand first 8 of the commit SHA.
-
Setup
-
Create a new Google Cloud Project (or select an existing project) and enable the Cloud Build and Cloud Build APIs.
-
Create or reuse a GitHub repository for the example workflow:
-
Move into the repository directory:
$ cd <repo> -
Copy the example into the repository:
$ cp -r <path_to>/github-actions/example-workflows/cloud-build/ .
-
Create a Google Cloud service account if one does not already exist.
-
Add the following Cloud IAM roles to your service account:
-
Cloud Build Service Account- allows for execution of builds on your behalf -
Viewer- allows for Cloud Build log storage
-
-
Create a JSON service account key for the service account.
-
Add the following secrets to your repository's secrets:
-
RUN_PROJECT: Google Cloud project ID -
RUN_SA_EMAIL: the email of the service account -
RUN_SA_KEY: the content of the service account JSON file
-
Run the workflow
-
Add and commit your changes:
$ git add . $ git commit -m "Set up GitHub workflow" -
Push to the
mainbranch:$ git push -u origin main -
View the GitHub Actions Workflow by selecting the
Actionstab at the top of your repository on GitHub. Then click on theBuild using Cloud Buildelement to see the details.