Skip to content

chore(release): 3.24.0 #91

chore(release): 3.24.0

chore(release): 3.24.0 #91

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
workflow_dispatch:
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [21]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: corepack enable
- run: |
git config user.name github-actions
git config user.email [email protected]
- run: npx changelogithub
continue-on-error: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: "npm"
node-version: ${{ matrix.node }}
registry-url: "https://registry.npmjs.org/"
- uses: actions/checkout@v2
with:
fetch-depth: 3
- name: Install dependencies
run: npm install
- name: Install dependencies
run: cd playground/nuxt-app && npm install && npm run build
- run: npm run build
- name: Publish Package
run: npm publish --access public --tag latest --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Deploy notification
if: always()
uses: adamkdean/simple-slack-notify@master
with:
channel: "#deployments"
status: ${{ job.status }}
success_text: "Version (#${{github.ref_name}}) von @lenne.tech/nuxt-base wurde erfolgreich released."
failure_text: "Release (#${{github.ref_name}}) von @lenne.tech/nuxt-base ist fehlgeschlagen."
cancelled_text: "Release (#${{github.ref_name}}) von @lenne.tech/nuxt-base wurde abgebrochen."