Skip to content

feat(custom): коммит для проверки npm в semantic release #7

feat(custom): коммит для проверки npm в semantic release

feat(custom): коммит для проверки npm в semantic release #7

Workflow file for this run

name: Release
on:
push:
branches:
- master
- next
permissions:
contents: write
issues: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.8.0
- run: npm ci
- run: npm run build
- name: Release
# env:
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
# NPM_TOKEN: ${{secrets.NPM_TOKEN}}
run: npx semantic-release
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.8.0
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}