Skip to content

Merge pull request #85 from ButterCMS/garbage-collect-abort-controller #24

Merge pull request #85 from ButterCMS/garbage-collect-abort-controller

Merge pull request #85 from ButterCMS/garbage-collect-abort-controller #24

Workflow file for this run

# This workflow will publish a package to npmjs.com when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Node.js Package
on:
push:
branches:
- master
jobs:
publish-npm:
if: contains(github.event.head_commit.message, 'chore(release)')
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 18.16.1
registry-url: https://registry.npmjs.org/
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}