Skip to content

chore(main): release chromium-bidi 0.5.2 (#1624) #24

chore(main): release chromium-bidi 0.5.2 (#1624)

chore(main): release chromium-bidi 0.5.2 (#1624) #24

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 # v3.5.3
- name: Set up Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: lts/*
cache: npm
- name: Install and build npm dependencies
run: npm ci
- name: Set up Python
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
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