Skip to content

Bump package version to 0.1.11, remove Offcanvas import from app.ts, … #54

Bump package version to 0.1.11, remove Offcanvas import from app.ts, …

Bump package version to 0.1.11, remove Offcanvas import from app.ts, … #54

Workflow file for this run

name: Publish Package to npmjs
on:
push:
tags:
- "v*" # Run when tag matches v*, e.g., v1.0.0
branches:
- main # You can also trigger on main branch pushes if you prefer, but be careful with versioning
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # Required for npm provenance
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Publish to npm
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}