Skip to content

Bump puppeteer from 23.5.0 to 23.5.1 #782

Bump puppeteer from 23.5.0 to 23.5.1

Bump puppeteer from 23.5.0 to 23.5.1 #782

Workflow file for this run

# Publish a new package when a pre-release PR is merged.
#
# Job does nothing if PR that was merged is not a pre-release PR.
name: "Publish NPM package if needed"
on:
pull_request:
branches:
- main
types:
- closed
jobs:
release:
if: startsWith(github.head_ref, 'release-') && github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout latest version of release script
uses: actions/checkout@v4
with:
ref: main
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Release package if needed
run: node src/release-package.js ${{ github.event.pull_request.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}