Skip to content

Merge branch 'master' of github.com:LabEG/Serializable #26

Merge branch 'master' of github.com:LabEG/Serializable

Merge branch 'master' of github.com:LabEG/Serializable #26

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}}