Skip to content

fix: add exports field to specify build files #20

fix: add exports field to specify build files

fix: add exports field to specify build files #20

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: NPM Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
- name: Install Dependencies
run: npm ci
- name: Test
run: npm run test:ci
- name: Build
run: npm run build
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release