Skip to content

chore(ci): изменение скрипта для публикации в npm #3

chore(ci): изменение скрипта для публикации в npm

chore(ci): изменение скрипта для публикации в npm #3

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
- run: npm audit signatures
- name: Release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
run: npx semantic-release
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}