chore(deps-dev): bump vitest from 3.0.7 to 3.0.8 #2472
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/[email protected] | |
with: | |
cache: 'npm' | |
node-version-file: '.nvmrc' | |
registry-url: 'https://npm.pkg.github.com' | |
- env: | |
NODE_AUTH_TOKEN: ${{ secrets.DOTTBOTT_TOKEN }} | |
name: Install dependencies | |
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline | |
- env: | |
GITHUB_TOKEN: ${{ secrets.DOTTBOTT_TOKEN }} | |
id: release | |
name: Release | |
uses: ridedott/[email protected] | |
with: | |
node-module: true | |
release-rules: | | |
[ | |
{ "release": "patch", "type": "build" }, | |
{ "release": "patch", "type": "chore" }, | |
{ "release": "patch", "type": "ci" }, | |
{ "release": "patch", "type": "docs" }, | |
{ "release": "patch", "type": "improvement" }, | |
{ "release": "patch", "type": "refactor" }, | |
{ "release": false, "scope": "deps-dev", "type": "chore" }, | |
{ "release": false, "subject": "*\\[skip release\\]*" } | |
] | |
- if: steps.release.outputs.released == 'true' | |
name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
cache: 'npm' | |
node-version-file: '.nvmrc' | |
registry-url: 'https://npm.pkg.github.com' | |
- env: | |
NODE_AUTH_TOKEN: ${{ secrets.DOTTBOTT_TOKEN }} | |
if: steps.release.outputs.released == 'true' | |
name: Publish to GitHub Packages | |
run: npm publish | |
- if: steps.release.outputs.released == 'true' | |
name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
cache: 'npm' | |
node-version-file: '.nvmrc' | |
registry-url: 'https://registry.npmjs.org' | |
scope: '@ridedott' | |
- env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
if: steps.release.outputs.released == 'true' | |
name: Publish to npm | |
run: npm publish | |
timeout-minutes: 10 |