Skip to content

chore: bump chromedriver from 125.0.3 to 126.0.4 (#1082) #154

chore: bump chromedriver from 125.0.3 to 126.0.4 (#1082)

chore: bump chromedriver from 125.0.3 to 126.0.4 (#1082) #154

Workflow file for this run

name: Deploy
on:
push:
branches:
- develop
- release
- master
jobs:
canary:
runs-on: ubuntu-latest
timeout-minutes: 10
if: github.ref_name == 'develop' && github.repository_owner == 'dequelabs'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- run: npm ci
# Ensure packages are built
- run: npm run build
# Make sure the working tree is clean
- run: git reset --hard HEAD
- run: npm config set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_TOKEN }}
- run: |
npx lerna publish prepatch \
--no-verify-access \
--no-git-tag-version \
--no-push \
--canary \
--dist-tag=next \
--exact \
--preid=$(git rev-parse --short HEAD) \
--force-publish \
--yes
relase-candidate:
runs-on: ubuntu-latest
if: github.ref_name == 'release' && github.repository_owner == 'dequelabs'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- run: npm ci
# Ensure packages are built
- run: npm run build
# Make sure the working tree is clean
- run: git reset --hard HEAD
- run: npm config set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_TOKEN }}
- run: |
npx lerna publish prepatch \
--no-verify-access \
--no-git-tag-version \
--no-push \
--canary \
--dist-tag=rc \
--exact \
--preid=$(git rev-parse --short HEAD) \
--force-publish \
--yes
production:
runs-on: ubuntu-latest
if: github.ref_name == 'master' && github.repository_owner == 'dequelabs'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- run: npm ci
# Ensure packages are built
- run: npm run build
# Make sure the working tree is clean
- run: git reset --hard HEAD
- run: npm config set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_TOKEN }}
- run: |
npx lerna publish from-package \
--force-publish='*' \
--yes
- run: |
PKG_VERSION=$(jq -r .version < lerna.json)
gh release create v$PKG_VERSION \
--title "Release $PKG_VERSION" \
--generate-notes \
--repo ${{ github.repository }} \
--target master
env:
GH_TOKEN: ${{ github.token }}