Skip to content

Bump lerna from 8.1.8 to 8.1.9 (#2203) #1830

Bump lerna from 8.1.8 to 8.1.9 (#2203)

Bump lerna from 8.1.8 to 8.1.9 (#2203) #1830

Workflow file for this run

name: Release
on:
push:
branches: ['master']
jobs:
release:
name: Trigger release
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v4
- name: Prepare repository
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
git fetch --prune --unshallow
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Bootstrap
run: yarn bootstrap
- name: Build
run: yarn build
- name: Bundle
run: yarn bundle
- name: Lint
run: yarn lint
- name: Create release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
yarn release