Skip to content

replace const declarations with var for better browser support #1

replace const declarations with var for better browser support

replace const declarations with var for better browser support #1

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test
- name: Build Userflow.js
run: npm run build
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}