Skip to content

Add particular case for ordering package.json #78

Add particular case for ordering package.json

Add particular case for ordering package.json #78

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@main
- name: Setup NodeJS
uses: actions/setup-node@main
with:
node-version: 'current'
registry-url: 'https://registry.npmjs.org'
- name: Install NPM dependencies
run: npm install
working-directory: .
- name: Bump package version
run: npx @helperkits/bumper bump
working-directory: .
- name: Build package
run: npm run build
working-directory: .
- name: Publish package to NPM
run: npm publish --access public
working-directory: .
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}