chore(release): 0.2.0 #35
Workflow file for this run
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: Publish | |
on: | |
push: | |
tags: | |
- 'v*' | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.14.1 | |
- run: npm install | |
- uses: JS-DevTools/npm-publish@v1 | |
with: | |
access: public | |
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 create-nuxt-base wurde erfolgreich released.' | |
failure_text: 'Release (#${{github.ref_name}}) von create-nuxt-base ist fehlgeschlagen.' | |
cancelled_text: 'Release (#${{github.ref_name}}) von create-nuxt-base wurde abgebrochen.' |