Skip to content

Release

Release #48

Workflow file for this run

name: Release
on:
workflow_run:
workflows: ['Verify']
types:
- completed
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://npm.pkg.github.com'
scope: '@datalens-tech'
cache: npm
- name: Install Packages
run: npm ci
- name: Build
run: npm run build
- name: Git user configuration
run: git config user.email "[email protected]" && git config user.name "Datalens-tech robot"
- name: Publish
run: npm version patch && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}