Skip to content

Update actions.yml

Update actions.yml #91

Workflow file for this run

name: Actions
on:
push:
branches:
- production
jobs:
#
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
publish:
name: 'Publish to NPM'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 'current'
registry-url: 'https://registry.npmjs.org'
- name: Install NPM dependencies
run: npm install
- name: Bump package version
run: npx @helperkits/bumper bump
- name: Build package
run: npm run build
- name: Publish package to NPM
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}