Skip to content

chore: add issue templates for bug reports and feature requests, enha… #43

chore: add issue templates for bug reports and feature requests, enha…

chore: add issue templates for bug reports and feature requests, enha… #43

Workflow file for this run

name: NPM Publish
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
push:
branches: [ main ]
schedule:
- cron: '0 12 8-14 1,5,9 4' # Thursday of 2nd week, 3 times a year (Jan, May, Sep) at 12:00 UTC
workflow_dispatch:
permissions:
contents: write
id-token: write # Required for npm provenance
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build and publish package
uses: actions/setup-node@v3
with:
node-version: 24
registry-url: https://registry.npmjs.org/
- name: Configure Git
run: |
git config --global user.email "elabutin@mts.ru"
git config --global user.name "Eugene Labutin"
- name: Install dependencies
run: npm ci
- name: Build package
run: npm run build
- name: Create release
run: npm run release
- name: Push changes and tags
run: git push && git push --tags
- name: Publish to NPM
run: npm publish --provenance --access public