Skip to content

ci: add CHANGELOG.md #2

ci: add CHANGELOG.md

ci: add CHANGELOG.md #2

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: [ master ]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build and publish package
uses: actions/setup-node@v3
with:
node-version: 22
registry-url: https://registry.npmjs.org/
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Eugene Labutin"
- run: npm ci --force # force because conflict typescript-eslint/parser version, check and remove later
- run: npm run release
- run: git push && git push --tags
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}