-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create dependabot CLs and build sample add-ons
- Loading branch information
Showing
3 changed files
with
51 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: 'npm' | ||
directories: | ||
- '/addons-web-sdk/samples' | ||
schedule: | ||
interval: 'daily' | ||
# Ignore patches for everything except for @googleworkspace/meet-addons | ||
ignore: | ||
- dependency-name: '@types*' | ||
update-types: ['version-update:semver-patch'] | ||
- dependency-name: 'next' | ||
update-types: ['version-update:semver-patch'] | ||
- dependency-name: 'react*' | ||
update-types: ['version-update:semver-patch'] | ||
- dependency-name: 'typescript' | ||
update-types: ['version-update:semver-patch'] | ||
- dependency-name: 'webpack*' | ||
update-types: ['version-update:semver-patch'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build sample Add-ons | ||
|
||
on: | ||
# Runs on all PRs, or when called from another workflow. | ||
push: | ||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [22.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
cache-dependency-path: addons-web-sdk/samples/package-lock.json | ||
- run: npm run build | ||
working-directory: addons-web-sdk/samples | ||
- name: Upload build | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: page | ||
path: addons-web-sdk/samples/dist | ||
if-no-files-found: error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters