Skip to content

Commit 394121f

Browse files
committed
v2
1 parent 101a416 commit 394121f

16 files changed

+1645
-1382
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This workflow publishes a package to GitHub Packages
2+
# whenever a release is published, and it's tag starts with "2"
3+
# The pipeline is aimed on "v2" branch
4+
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
5+
6+
name: Node.js Package v2
7+
8+
on:
9+
release:
10+
types: [published]
11+
tags:
12+
- '2*'
13+
14+
jobs:
15+
publish-npm:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
ref: 'v2'
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: 20
24+
registry-url: https://registry.npmjs.org/
25+
- run: npm ci
26+
- run: npm run build
27+
- run: npm publish --access public
28+
env:
29+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
1+
# This workflow publishes a package to GitHub Packages when a release is created
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
33

44
name: Node.js Package
55

66
on:
77
release:
8-
types: [created]
8+
types: [published]
99

1010
jobs:
1111
publish-npm:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
99
:x: - deprecation
1010
:pencil: - chore
1111

12+
## [2.0.0]
13+
- :rocket: migrated on @qavajs/core v2
14+
1215
## [0.20.0]
1316
- :rocket: improved request and response reporting
1417

0 commit comments

Comments
 (0)