Release #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |