Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

fix: Better catching of errors on generate #9

fix: Better catching of errors on generate

fix: Better catching of errors on generate #9

Workflow file for this run

name: Publish NPM
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Conventional Changelog
id: changelog
uses: TriPSs/conventional-changelog-action@v4.1.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: 21.1.0
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}