Skip to content

chore(main): release chromium-bidi 0.5.4 (#1697) #26

chore(main): release chromium-bidi 0.5.4 (#1697)

chore(main): release chromium-bidi 0.5.4 (#1697) #26

Workflow file for this run

name: Publish
# Declare default permissions as read only.
permissions: read-all
env:
FORCE_COLOR: 3
PIP_DISABLE_PIP_VERSION_CHECK: 1
on:
push:
tags:
- '*v*'
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: lts/*
cache: npm
- name: Install and build npm dependencies
run: npm ci
- name: Set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: '3.11'
cache: pipenv
- name: Install pipenv
run: pip install pipenv
- name: Install python dependencies
run: pipenv install
- name: Test
run: npm run unit
- name: Publish
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
run: |
npm config set registry 'https://wombat-dressing-room.appspot.com/'
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
npm publish