Skip to content

v1.34.1-beta1

v1.34.1-beta1 #297

Workflow file for this run

name: Publish to npm
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Setup NodeJS LTS version
uses: actions/setup-node@v3
with:
node-version: "18.12.0"
- name: Setup the project
run: yarn install
- name: Generate production build
run: yarn bundle
- name: Publish the package on NPM
uses: JS-DevTools/npm-publish@v1
with:
access: "public"
token: ${{ secrets.NPM_TOKEN }}
tag: ${{ github.event.release.prerelease && 'beta' || 'latest' }}