Skip to content

Breadcrumbs activeLabel #271

Breadcrumbs activeLabel

Breadcrumbs activeLabel #271

Workflow file for this run

name: Publish to NPM
on:
push:
branches:
- master
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build
working-directory: ${{ github.workspace }}
run: |
npm ci
npm run build
- name: Copy README to dist
run: |
cp README.md dist/
- name: Publish package on NPM 📦
run: |
cd dist
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}