Skip to content

Merge pull request #19 from danielroe/bundler-resolution #15

Merge pull request #19 from danielroe/bundler-resolution

Merge pull request #19 from danielroe/bundler-resolution #15

Workflow file for this run

name: Release npm package
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/setup-node@v3
with:
node-version: "16.x"
- run: npm ci
# - run: npm run build --if-present
# require the below to generate tsconfig.json
- run: npm run prepack
# - run: npm test
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}