Skip to content

Remove default font-family #54

Remove default font-family

Remove default font-family #54

name: Publish React NPM Package
on:
push:
paths:
- "react/**"
branches:
- main
jobs:
publish:
name: Publish React NPM Package
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
always-auth: true
node-version: "20.x"
registry-url: https://registry.npmjs.org
- name: Install Dependencies
working-directory: react
run: npm install
- name: Increment Version
working-directory: react
run: echo "NPM_PACKAGE_VERSION=$(npm version patch)" >> $GITHUB_ENV
- name: Commit Version Increment
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add react/package.json react/package-lock.json
git commit -m "${{env.NPM_PACKAGE_VERSION}}" -a
- name: Build
working-directory: react
run: npm run build
- name: Publish to NPM
working-directory: react
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
- name: Push Changes
run: git push