Skip to content

Update DropzoneInputComponents.hooks.ts and useTransformSrc.ts #9

Update DropzoneInputComponents.hooks.ts and useTransformSrc.ts

Update DropzoneInputComponents.hooks.ts and useTransformSrc.ts #9

Workflow file for this run

name: Publish to NPM
on:
push:
branches:
- master
jobs:
publish:
runs-on: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- uses: paulhatch/[email protected]
id: semver
- name: Build & Tag
run: |
npm install
npm run build
npm version ${{ steps.semver.outputs.version }} --no-git-tag-version
- name: Publish to NPM
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
- name: Publish Github Release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ steps.semver.outputs.version }}
draft: false