chore(deps-dev): bump @ridedott/eslint-config from 2.27.104 to 2.27.106 #1741
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 Delivery | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
if: contains(github.event.commits[0].message, 'chore(release)') == false | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
# Fetch all history. | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'npm' | |
node-version-file: '.nvmrc' | |
registry-url: 'https://npm.pkg.github.com' | |
- name: Install dependencies | |
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline | |
- name: Build | |
run: npm run build | |
- env: | |
GITHUB_TOKEN: ${{ secrets.DOTTBOTT_TOKEN }} | |
id: release | |
name: Release | |
uses: ridedott/release-me-action@master | |
with: | |
commit-assets: | | |
./dist | |
node-module: true | |
release-rules: | | |
[ | |
{ "release": "patch", "type": "build" }, | |
{ "release": "patch", "type": "chore" }, | |
{ "release": false, "type": "chore", "scope": "deps-dev" }, | |
{ "release": "patch", "type": "chore", "scope": "deps-dev", "subject": "bump typescript from*" }, | |
{ "release": "patch", "type": "chore", "scope": "deps-dev", "subject": "bump @vercel/ncc from*" }, | |
{ "release": "patch", "type": "ci" }, | |
{ "release": "patch", "type": "improvement" }, | |
{ "release": "patch", "type": "refactor" }, | |
{ "release": false, "subject": "*\\[skip release\\]*" } | |
] | |
- if: steps.release.outputs.released == 'true' | |
name: Authenticate | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
persist-credentials: true | |
token: ${{ secrets.DOTTBOTT_TOKEN }} | |
- if: steps.release.outputs.released == 'true' | |
name: Tag | |
run: | | |
git config --global user.name '{{ secrets.DOTTBOTT_USER_NAME }}' | |
git config --global user.email '{{ secrets.DOTTBOTT_USER_EMAIL }}' | |
git push origin :refs/tags/'v${{ steps.release.outputs.major }}' | |
git tag 'v${{ steps.release.outputs.major }}' --force | |
git push --tags | |
timeout-minutes: 10 |