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

Commit cd0aed5

Browse files
authored
test: add node 16 and remove windows from github workflow (#830)
1 parent fe0f1cc commit cd0aed5

2 files changed

Lines changed: 10 additions & 13 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# This file is manually updated due to specific needs of the cloud
2+
# profiler agent, e.g., not supporting Windows.
3+
#
4+
# It should be in sync with Google's template
5+
# https://github.com/googleapis/synthtool/blob/master/synthtool/gcp/templates/node_library/.github/workflows/ci.yaml
6+
# for Node.js GCP libraries as much as possible.
7+
18
on:
29
push:
310
branches:
@@ -9,7 +16,7 @@ jobs:
916
runs-on: ubuntu-latest
1017
strategy:
1118
matrix:
12-
node: [10, 12, 14]
19+
node: [10, 12, 14, 16]
1320
steps:
1421
- uses: actions/checkout@v3
1522
- uses: actions/setup-node@v3
@@ -26,17 +33,6 @@ jobs:
2633
- run: npm test
2734
env:
2835
MOCHA_THROW_DEPRECATION: false
29-
windows:
30-
runs-on: windows-latest
31-
steps:
32-
- uses: actions/checkout@v3
33-
- uses: actions/setup-node@v3
34-
with:
35-
node-version: 14
36-
- run: npm install
37-
- run: npm test
38-
env:
39-
MOCHA_THROW_DEPRECATION: false
4036
lint:
4137
runs-on: ubuntu-latest
4238
steps:

owlbot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414

1515
import synthtool.languages.node as node
1616

17-
node.owlbot_main(templates_excludes=[".github/sync-repo-settings.yaml"])
17+
node.owlbot_main(templates_excludes=[".github/sync-repo-settings.yaml",
18+
".github/workflows/ci.yaml"])

0 commit comments

Comments
 (0)