Skip to content

Commit

Permalink
Release GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
slvrtrn committed Oct 4, 2022
1 parent c86c31d commit 4b0489e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# See https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Publish Package to npmjs
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clickhouse/client",
"version": "0.0.4",
"version": "0.0.5",
"description": "Official JS client for ClickHouse DB",
"license": "Apache-2.0",
"keywords": [
Expand Down

0 comments on commit 4b0489e

Please sign in to comment.