Skip to content

Update target and enable treeshaking #36

Update target and enable treeshaking

Update target and enable treeshaking #36

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
runner-job:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
name: Node.js ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
with:
version: 6.24.4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install deps
run: pnpm install
- name: Build
run: pnpm build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm semantic-release