Skip to content

build(deps): bump the eslint-dependencies group with 3 updates #3242

build(deps): bump the eslint-dependencies group with 3 updates

build(deps): bump the eslint-dependencies group with 3 updates #3242

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