build(deps-dev): bump lerna from 7.1.1 to 7.1.5 #3036
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
merge_group: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
continuous-integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: escemi-tech/[email protected] | |
with: | |
checks: true | |
publish: | |
needs: continuous-integration | |
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
environment: github-pages | |
steps: | |
- uses: escemi-tech/[email protected] | |
with: | |
checkout: '{ "token": "${{ secrets.GH_PRIVATE_ACCESS_TOKEN }}" }' | |
- name: 🏗️ Build Github pages | |
run: | | |
mkdir -p /tmp/publish | |
echo "theme: jekyll-theme-cayman" > /tmp/publish/_config.yml | |
cp README.md /tmp/publish/index.md | |
- name: 🌐 Publish Github pages | |
uses: peaceiris/[email protected] | |
with: | |
enable_jekyll: true | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: /tmp/publish | |
user_name: ${{ github.actor }} | |
user_email: ${{ github.actor }}@users.noreply.github.com | |
- name: 📦 Publish NPM packages | |
env: | |
NPM_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} | |
GH_TOKEN: ${{ secrets.GH_PRIVATE_ACCESS_TOKEN }} | |
run: | | |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc | |
git config --local user.email "${{ github.actor }}@users.noreply.github.com" | |
git config --local user.name "${{ github.actor }}" | |
yarn lerna publish --conventional-commits --create-release github --yes |