Skip to content

Add yarn dts

Add yarn dts #5

Workflow file for this run

name: Node.js Package
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
environment: publish
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Use Nodejs
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn install --immutable
- run: yarn build
- run: cp package.json README.md ./dist && cd dist && yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}