Skip to content

Merge pull request #14 from octotravel/feat/fix-optional-types #1

Merge pull request #14 from octotravel/feat/fix-optional-types

Merge pull request #14 from octotravel/feat/fix-optional-types #1

Workflow file for this run

name: Publish to NPM
on:
push:
branches:
- master
- main
jobs:
publish-npm:
name: Publish to NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}