Skip to content

chore(deps-dev): bump typedoc from 0.25.13 to 0.27.6 #1954

chore(deps-dev): bump typedoc from 0.25.13 to 0.27.6

chore(deps-dev): bump typedoc from 0.25.13 to 0.27.6 #1954

Workflow file for this run

name: pull-requests
on:
pull_request:
branches:
- main
jobs:
lint:
name: lint-packages
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache node_modules
uses: actions/cache@v3
id: cache-node-modules
with:
path: |
node_modules
packages/*/node_modules
key: lock-${{ hashFiles('yarn.lock') }}
restore-keys: |
lock-
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20.2.x'
registry-url: 'https://registry.npmjs.org'
- name: Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: |
set -exu
yarn --immutable
- run: yarn moon :lint
build-and-test:
name: build-packages
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache node_modules
uses: actions/cache@v3
id: cache-node-modules
with:
path: |
node_modules
packages/*/node_modules
key: lock-${{ hashFiles('yarn.lock') }}
restore-keys: |
lock-
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20.2.x'
registry-url: 'https://registry.npmjs.org'
- name: Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: |
set -exu
yarn --immutable
- name: Build packages
run: yarn moon :build
- name: Test packages
run: yarn moon '#testable:test'
docs:
name: build-docs
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache node_modules
uses: actions/cache@v3
id: cache-node-modules
with:
path: |
node_modules
packages/*/node_modules
key: lock-${{ hashFiles('yarn.lock') }}
restore-keys: |
lock-
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20.2.x'
registry-url: 'https://registry.npmjs.org'
- name: Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: |
set -exu
yarn --immutable
- name: Generate docs
run: |
set -exu
yarn docs
auto-merge:
runs-on: ubuntu-latest
needs:
- lint
- build-and-test
- docs
if: ${{ github.actor == 'dependabot[bot]' }}
# Set the access for individual scopes, or use permissions: write-all
permissions: write-all
steps:
- name: Approve the PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Merge the PR
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}