Skip to content

Commit fbb25a4

Browse files
committed
1.0.1
1 parent 86d79a0 commit fbb25a4

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publishing Package
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
# Setup .npmrc file to publish to npm
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version: '16.x'
14+
registry-url: 'https://registry.npmjs.org'
15+
- run: npm install
16+
- run: npm run test
17+
- run: npm run publish
18+
env:
19+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"name": "verto-cace-interface",
3-
"version": "1.0.0",
4-
"description": "The common functionalities to communicate with the cache system",
3+
"version": "1.0.1",
4+
"description": "A communication package with Verto Cache System",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"scripts": {
88
"build": "nest build",
9-
"test": "jest"
9+
"test": "jest",
10+
"publish": "npm run build && npm publish"
1011
},
1112
"repository": {
1213
"type": "git",

0 commit comments

Comments
 (0)