Skip to content

ci: allow manual dispatch for puppeteer workflow #15224

ci: allow manual dispatch for puppeteer workflow

ci: allow manual dispatch for puppeteer workflow #15224

Workflow file for this run

# https://github.com/pre-commit/action
name: Pre-commit
# Declare default permissions as read only.
permissions: read-all
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
on:
merge_group:
pull_request:
push:
branches: 'main'
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version-file: '.nvmrc'
cache: npm
- name: Setup Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v5.0.0
with:
go-version: '1.21.x'
- uses: google/wireit@f21db1f3a6a4db31f42787a958cf2a18308effed # setup-github-actions-caching/v2.0.3
- run: npm ci
- run: npm run build
- name: Test that BidiMapper can be imported
run: cd lib/esm/bidiMapper && node ./BidiMapper.js
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: '3.11'
cache: pip
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd #v3.0.1
with:
# We need --all-files as this overrides the defaults
extra_args: --hook-stage manual --all-files