Skip to content

v2.0.5

v2.0.5 #20

Workflow file for this run

name: publish
on:
release:
types: [published]
workflow_dispatch:
inputs:
name:
description: 'reason'
required: false
default: ''
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js v20.x
uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
- run: yarn install --immutable
- run: yarn build
- run: yarn build-es3
- run: yarn build-es6
- run: yarn test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}