add initial marp implementation with sample content and build configuration
This commit is contained in:
32
node_modules/webdriver-bidi-protocol/.github/workflows/ci.yml
generated
vendored
Normal file
32
node_modules/webdriver-bidi-protocol/.github/workflows/ci.yml
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: CI
|
||||
|
||||
# Declare default permissions as read only.
|
||||
permissions: read-all
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- '**'
|
||||
|
||||
concurrency:
|
||||
group: ci-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
name: '[Required] Run tests'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: Install cddlconv
|
||||
run: cargo install cddlconv@0.1.7
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Build and test
|
||||
run: npm test
|
||||
29
node_modules/webdriver-bidi-protocol/.github/workflows/publish.yml
generated
vendored
Normal file
29
node_modules/webdriver-bidi-protocol/.github/workflows/publish.yml
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Publish
|
||||
|
||||
permissions: read-all
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- "*v*"
|
||||
|
||||
jobs:
|
||||
npm-publish:
|
||||
name: Publish npm packages
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: Set npm registry
|
||||
run: npm config set registry 'https://wombat-dressing-room.appspot.com/'
|
||||
- name: Publish packages
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_RELEASE}}
|
||||
run: |
|
||||
npm config set '//wombat-dressing-room.appspot.com/:_authToken' $NODE_AUTH_TOKEN
|
||||
npm publish
|
||||
42
node_modules/webdriver-bidi-protocol/.github/workflows/regenerate.yml
generated
vendored
Normal file
42
node_modules/webdriver-bidi-protocol/.github/workflows/regenerate.yml
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
name: regenerate
|
||||
|
||||
# Declare default permissions as read only.
|
||||
permissions: read-all
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: regenerate-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
name: '[Required] Regenerate'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: Install cddlconv
|
||||
run: cargo install cddlconv@0.1.7
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Build and test
|
||||
run: npm test
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
|
||||
with:
|
||||
token: ${{ secrets.BROWSER_AUTOMATION_BOT_TOKEN }}
|
||||
branch: regenerate
|
||||
delete-branch: true
|
||||
committer: Browser Automation Bot <browser-automation-bot@google.com>
|
||||
author: Browser Automation Bot <browser-automation-bot@google.com>
|
||||
commit-message: 'fix: re-generate types based on specifciation updates'
|
||||
title: 'fix: re-generate types based on specifciation updates'
|
||||
body: 'Automatically generated by https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/blob/main/.github/workflows/regenerate.yml'
|
||||
push-to-fork: browser-automation-bot/webdriver-bidi-protocol
|
||||
19
node_modules/webdriver-bidi-protocol/.github/workflows/release-please.yml
generated
vendored
Normal file
19
node_modules/webdriver-bidi-protocol/.github/workflows/release-please.yml
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions: read-all
|
||||
name: release-please
|
||||
|
||||
jobs:
|
||||
release-please:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: googleapis/release-please-action@v4
|
||||
with:
|
||||
token: ${{ secrets.BROWSER_AUTOMATION_BOT_TOKEN }}
|
||||
target-branch: main
|
||||
config-file: release-please-config.json
|
||||
manifest-file: .release-please-manifest.json
|
||||
fork: true
|
||||
Reference in New Issue
Block a user