Skip to content

Commit 7394e10

Browse files
committed
Release v0.2.0 (#46)
1 parent f2a2692 commit 7394e10

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

.github/workflows/release.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish Package to npmjs
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
# Setup .npmrc file to publish to npm
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: "16.x"
14+
registry-url: "https://registry.npmjs.org"
15+
- name: Install Dependencies
16+
run: yarn install --frozen-lockfile
17+
# Writes token to .yarnrc.yml
18+
- name: Setup NPM auth token
19+
run: |
20+
echo npmAuthToken: "${NODE_AUTH_TOKEN}" >> ./.yarnrc.yml
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
23+
- run: yarn publish

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.1.10",
2+
"version": "0.2.0",
33
"name": "trino-client",
44
"description": "Trino client library",
55
"author": {
@@ -50,4 +50,4 @@
5050
"test:lint": "eslint .",
5151
"publish": "yarn build && yarn npm publish"
5252
}
53-
}
53+
}

0 commit comments

Comments
 (0)