build: bump puppeteer from 22.15.0 to 23.11.1 #933
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
name: Release | |
on: | |
pull_request: | |
branches: | |
- master | |
workflow_run: | |
workflows: [ "Checks" ] | |
branches: [ master ] | |
types: | |
- completed | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare repository | |
run: git fetch --unshallow --tags | |
- name: Unset header | |
# https://github.com/intuit/auto/issues/1030 | |
run: git config --local --unset http.https://github.com/.extraheader | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- name: Setup packages | |
run: pnpm install | |
- name: Release Info | |
run: npm whoami && pnpm exec auto info || echo 'auto info returned 1' | |
- name: Create Release | |
run: pnpm run release |