Skip to content

Commit

Permalink
2nd gen overhaul (#1075)
Browse files Browse the repository at this point in the history
Rearrange samples per language/runtime
  • Loading branch information
jhuleatt committed May 9, 2023
1 parent 7f3d833 commit 2f19a39
Show file tree
Hide file tree
Showing 623 changed files with 11,850 additions and 11,174 deletions.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 1,17 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# https://docs.github.com/en/free-pro-team@latest/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser

blank_issues_enabled: false
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/test.yml

This file was deleted.

63 changes: 63 additions & 0 deletions .github/workflows/test_node.yml
Original file line number Diff line number Diff line change
@@ -0,0 1,63 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: CI Tests

on:
pull_request:
paths:
- 'Node/**'
- 'Node-1st-gen/**'
- 'package.json'
- 'package-lock.json'
- 'pnpm-workspace.yaml'
- 'pnpm-lock.yaml'
- 'tsconfig.template.json'
push:
paths:
- 'Node/**'
- 'Node-1st-gen/**'
- 'package.json'
- 'package-lock.json'
- 'pnpm-workspace.yaml'
- 'pnpm-lock.yaml'
- 'tsconfig.template.json'

env:
CI: true

jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 18.x
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Cache npm
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}

- run: npm install
- run: npm run bootstrap
- run: npm run lint
- run: npm run compile
- run: npm run test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 15,5 @@ service-account-credentials.json
**/firebase-debug.log
**/pubsub-debug.log
**/tsconfig-compile.json
yarn.lock
yarn.lock
**/.DS_Store
14 changes: 0 additions & 14 deletions 2nd-gen/alerts-to-discord/functions/.eslintrc.js

This file was deleted.

18 changes: 0 additions & 18 deletions 2nd-gen/app-distribution-feedback-to-jira/functions/.eslintrc.cjs

This file was deleted.

14 changes: 0 additions & 14 deletions 2nd-gen/auth-blocking-functions/functions/.eslintrc.js

This file was deleted.

14 changes: 0 additions & 14 deletions 2nd-gen/callable-functions/functions/.eslintrc.js

This file was deleted.

14 changes: 0 additions & 14 deletions 2nd-gen/custom-events/functions/.eslintrc.js

This file was deleted.

14 changes: 0 additions & 14 deletions 2nd-gen/delete-unused-accounts-cron/functions/.eslintrc.js

This file was deleted.

14 changes: 0 additions & 14 deletions 2nd-gen/instrument-with-opentelemetry/functions/.eslintrc.js

This file was deleted.

17 changes: 0 additions & 17 deletions 2nd-gen/instrument-with-opentelemetry/functions/timer.js

This file was deleted.

28 changes: 0 additions & 28 deletions 2nd-gen/monitor-cloud-logging/functions/.eslintrc.js

This file was deleted.

14 changes: 0 additions & 14 deletions 2nd-gen/pubsub-helloworld/functions/.eslintrc.js

This file was deleted.

14 changes: 0 additions & 14 deletions 2nd-gen/remote-config-diff/functions/.eslintrc.js

This file was deleted.

14 changes: 0 additions & 14 deletions 2nd-gen/taskqueues-backup-images/functions/.eslintrc.js

This file was deleted.

14 changes: 0 additions & 14 deletions 2nd-gen/test-complete/functions/.eslintrc.js

This file was deleted.

5 changes: 0 additions & 5 deletions 2nd-gen/test-functions-jest-ts/functions/jest.config.js

This file was deleted.

6 changes: 0 additions & 6 deletions 2nd-gen/test-functions-jest-ts/functions/src/index.ts

This file was deleted.

15 changes: 0 additions & 15 deletions 2nd-gen/test-functions-jest/functions/.eslintrc.js

This file was deleted.

6 changes: 0 additions & 6 deletions 2nd-gen/test-functions-jest/functions/index.js

This file was deleted.

17 changes: 0 additions & 17 deletions 2nd-gen/test-functions-jest/functions/index.test.js

This file was deleted.

Loading

0 comments on commit 2f19a39

Please sign in to comment.