Skip to content

Commit f78b1c1

Browse files
committed
cleanups
1 parent ba36cbe commit f78b1c1

File tree

5 files changed

+781
-6368
lines changed

5 files changed

+781
-6368
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ on:
1919
# Using a different branch name? Replace `main` with your branch’s name
2020
push:
2121
branches: [main]
22+
paths:
23+
- "third_party/docsite/**"
2224
# Allows you to run this workflow manually from the Actions tab on GitHub.
2325
workflow_dispatch:
2426

@@ -37,9 +39,9 @@ jobs:
3739
- name: Install, build, and upload your site
3840
uses: withastro/action@v3
3941
with:
40-
path: site # The root location of your Astro project inside the repository. (optional)
41-
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
42-
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
42+
path: third_party/docsite
43+
node-version: 22
44+
package-manager: pnpm@latest
4345

4446
deploy:
4547
needs: build

addlicense.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright 2024 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
addlicense -c "Google LLC" -l apache -ignore '**/node_modules/**' -ignore 'third_party/**' .

js/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@
2121
"@types/node": "^22.2.0",
2222
"handlebars": "^4.7.8",
2323
"yaml": "^2.5.0"
24-
}
24+
},
25+
"packageManager": "pnpm@9.13.2+sha256.ccce81bf7498c5f0f80e31749c1f8f03baba99d168f64590fc7e13fad3ea1938"
2526
}

0 commit comments

Comments
 (0)