Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit e272a2e

Browse files
feat: add tests and samples to library (#1)
* feat: add tests and samples to library * run lint * pdate lock file * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent ff4111a commit e272a2e

16 files changed

+454
-257
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414

1515
docker:
16-
digest: sha256:fa8aa95554824ce17408413876467f67191d3ad479001085f114fe1b290b0005
17-
image: gcr.io/repo-automation-bots/owlbot-nodejs:latest
16+
digest: sha256:d106724ad2a96daa1b8d88de101ba50bdb30b8df62ffa0aa2b451d93b4556641
17+
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest

.github/auto-label.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
requestsize:
2+
enabled: true

.github/generated-files-bot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ generatedFiles:
88
- path: '.github/generated-files-bot.+(yml|yaml)'
99
message: '`.github/generated-files-bot.(yml|yaml)` should be updated in [`synthtool`](https://github.com/googleapis/synthtool)'
1010
- path: 'README.md'
11-
message: '`README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/master/.readme-partials.yaml'
11+
message: '`README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/main/.readme-partials.yaml'
1212
- path: 'samples/README.md'
13-
message: '`samples/README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/master/.readme-partials.yaml'
13+
message: '`samples/README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/main/.readme-partials.yaml'
1414
ignoreAuthors:
1515
- 'gcf-owl-bot[bot]'
1616
- 'yoshi-automation'

.github/sync-repo-settings.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
branchProtectionRules:
2+
- pattern: main
3+
isAdminEnforced: true
4+
requiredApprovingReviewCount: 1
5+
requiresCodeOwnerReviews: true
6+
requiresStrictStatusChecks: false
7+
requiredStatusCheckContexts:
8+
- "ci/kokoro: Samples test"
9+
- "ci/kokoro: System test"
10+
- docs
11+
- lint
12+
- test (10)
13+
- test (12)
14+
- test (14)
15+
- cla/google
16+
- windows
17+
- OwlBot Post Processor

.github/workflows/ci.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
on:
22
push:
33
branches:
4-
- master
4+
- main
55
pull_request:
66
name: ci
77
jobs:
88
test:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node: [10, 12, 14, 16]
12+
node: [10, 12, 14]
1313
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v1
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-node@v3
1616
with:
1717
node-version: ${{ matrix.node }}
1818
- run: node --version
@@ -29,8 +29,8 @@ jobs:
2929
windows:
3030
runs-on: windows-latest
3131
steps:
32-
- uses: actions/checkout@v2
33-
- uses: actions/setup-node@v1
32+
- uses: actions/checkout@v3
33+
- uses: actions/setup-node@v3
3434
with:
3535
node-version: 14
3636
- run: npm install
@@ -40,17 +40,17 @@ jobs:
4040
lint:
4141
runs-on: ubuntu-latest
4242
steps:
43-
- uses: actions/checkout@v2
44-
- uses: actions/setup-node@v1
43+
- uses: actions/checkout@v3
44+
- uses: actions/setup-node@v3
4545
with:
4646
node-version: 14
4747
- run: npm install
4848
- run: npm run lint
4949
docs:
5050
runs-on: ubuntu-latest
5151
steps:
52-
- uses: actions/checkout@v2
53-
- uses: actions/setup-node@v1
52+
- uses: actions/checkout@v3
53+
- uses: actions/setup-node@v3
5454
with:
5555
node-version: 14
5656
- run: npm install

.kokoro/common.cfg

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.kokoro/release/docs.cfg

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.kokoro/samples-test.sh

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.kokoro/system-test.sh

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.kokoro/test.sh

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)