Skip to content
Merged

v2 #40

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/npm-publish-v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow publishes a package to GitHub Packages
# whenever a release is published, and it's tag starts with "2"
# The pipeline is aimed on "v2" branch
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package v2

on:
release:
types: [published]
tags:
- '2*'

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'v2'
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
14 changes: 10 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# This workflow publishes a package to GitHub Packages
# whenever a release is published, and it's tag starts with "1"
# The pipeline is aimed on "v1" branch
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package
name: Node.js Package v1

on:
release:
types: [created]
types: [published]
tags:
- '1*'

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'v1'
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
branches:
- main
- v1
- v2

jobs:
test:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
:x: - deprecation
:pencil: - chore

## [2.0.0]
- :rocket: migrated on @qavajs/core v2

## [0.20.0]
- :rocket: improved request and response reporting

Expand Down
Loading
Loading