Skip to content

change dependencies, update readme to explain migration better (#11) #8

change dependencies, update readme to explain migration better (#11)

change dependencies, update readme to explain migration better (#11) #8

Workflow file for this run

name: Publish Package to NPM
on:
push:
branches: [ master ]
paths:
- 'package/**'
- '.github/workflows/npm-publish.yml'
workflow_dispatch:
jobs:
publish:
name: Publish to NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
- name: Install and Build
working-directory: ./package
run: |
yarn install --frozen-lockfile
yarn build
- name: Publish to NPM
working-directory: ./package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public