Skip to content

Commit

Permalink
build(node): don't throw on deprecation in unit tests (#1494)
Browse files Browse the repository at this point in the history
Fixes #1134 馃

Removes the commit body and relative PR# from the commit message.

For example, for this commit: googleapis/synthtool@9763f20

`post-processor-changes.txt` would contain

```
build: enable npm for php/python builds

Source-Link: googleapis/synthtool@9763f20
```

instead of

```
build: enable npm for php/python builds (#1133)

* build: enable npm for php/python builds

* update comment
Source-Link: googleapis/synthtool@9763f20
```
Source-Link: googleapis/synthtool@e934b93
Post-Processor: gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:805e2e389eafefa5ed484c30b83a7a875e6b1c7ee125d812e8b01ecc531c3fac
  • Loading branch information
gcf-owl-bot[bot] committed Jun 24, 2021
1 parent fbb90c2 commit dfd1ec7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/.OwlBot.lock.yaml
@@ -1,3 +1,3 @@
docker:
image: gcr.io/repo-automation-bots/owlbot-nodejs:latest
digest: sha256:c9c7828c165b1985579098978877935ee52dda2b1b538087514fd24fa2443e7a
digest: sha256:805e2e389eafefa5ed484c30b83a7a875e6b1c7ee125d812e8b01ecc531c3fac
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Expand Up @@ -24,6 +24,8 @@ jobs:
- run: rm -rf node_modules
- run: npm install
- run: npm test
env:
MOCHA_THROW_DEPRECATION: false
windows:
runs-on: windows-latest
steps:
Expand All @@ -33,6 +35,8 @@ jobs:
node-version: 14
- run: npm install
- run: npm test
env:
MOCHA_THROW_DEPRECATION: false
lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit dfd1ec7

Please sign in to comment.