Skip to content

chore(deps): update dependency @book000/eslint-config to v1.7.105 #798

chore(deps): update dependency @book000/eslint-config to v1.7.105

chore(deps): update dependency @book000/eslint-config to v1.7.105 #798

Workflow file for this run

name: Release
on:
pull_request_target:
branches:
- main
- master
types:
- closed
concurrency:
group: ${{ github.workflow }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: 🛎 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🏗 Setup node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
registry-url: 'https://registry.npmjs.org'
- name: Setup pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
run_install: false
- name: 📂 Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: 📂 Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: 👨🏻‍💻 Install dependencies
run: |
pnpm install --frozen-lockfile --prefer-frozen-lockfile
- name: 🗑️ Remove examples directory
run: rm -rfv src/examples
- name: 🏃 Build
run: pnpm run build
- name: 🏷 Bump version and push tag
id: tag-version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: 'minor'
custom_release_rules: 'feat:minor:✨ Features,fix:patch:🐛 Fixes,docs:patch:📰 Docs,chore:patch:🎨 Chore,pref:patch:🎈 Performance improvements,refactor:patch:🧹 Refactoring,build:patch:🔍 Build,ci:patch:🔍 CI,revert:patch:⏪ Revert,style:patch:🧹 Style,test:patch:👀 Test,release:major:📦 Release'
- name: 📝 Update package.json version
run: |
pnpm version --no-git-tag-version ${{ steps.tag-version.outputs.new_version }}
- name: 📦 Publish
run: |
pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: 📃 Create Release
id: create_release
uses: ncipollo/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ steps.tag-version.outputs.new_tag }}
name: ${{ steps.tag-version.outputs.new_tag }}
body: ${{ steps.tag-version.outputs.changelog }}
draft: false
prerelease: false