Skip to content

dropzone-7.1.3

dropzone-7.1.3 #11

Workflow file for this run

name: publish
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
name: Publish latest release
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install
- name: Build dist files
run: yarn run build
- name: Publish package
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
access: 'public'