Skip to content

fix(create-prokit): add try catch on create-prokit index.js #13

fix(create-prokit): add try catch on create-prokit index.js

fix(create-prokit): add try catch on create-prokit index.js #13

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: create-prokit publish
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/create-prokit
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}