Skip to content

Release

Release #20

Workflow file for this run

name: Release
on: workflow_dispatch
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build
- name: Configure git
run: |
git config --global user.email "team-nx@neo4j.com"
git config --global user.name "GitHub Action Automation"
- name: Bump version
run: |
npm run changeset version
git add . && git commit -am "Version bump"
- name: Publish to npm
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run changeset publish
- name: Git push changes back to origin
run: git push && git push --tags