Skip to content

Merge pull request #17 from LabEG/dependabot/npm_and_yarn/js-yaml-4.1.1 #31

Merge pull request #17 from LabEG/dependabot/npm_and_yarn/js-yaml-4.1.1

Merge pull request #17 from LabEG/dependabot/npm_and_yarn/js-yaml-4.1.1 #31

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: 23
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
- run: npm run release
- run: git push && git push --tags
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}