Skip to content

Commit

Permalink
Release v0.2.0 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
regadas committed Jul 21, 2022
1 parent f2a2692 commit 7394e10
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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"
- name: Install Dependencies
run: yarn install --frozen-lockfile
# Writes token to .yarnrc.yml
- name: Setup NPM auth token
run: |
echo npmAuthToken: "${NODE_AUTH_TOKEN}" >> ./.yarnrc.yml
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: yarn publish
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.10",
"version": "0.2.0",
"name": "trino-client",
"description": "Trino client library",
"author": {
Expand Down Expand Up @@ -50,4 +50,4 @@
"test:lint": "eslint .",
"publish": "yarn build && yarn npm publish"
}
}
}

0 comments on commit 7394e10

Please sign in to comment.