Skip to content

Commit a60c2cc

Browse files
authored
Merge pull request #45 from qavajs/publish-fix
fix publishing workflow
2 parents 8f6f7df + 719e686 commit a60c2cc

File tree

3 files changed

+11
-45
lines changed

3 files changed

+11
-45
lines changed

.github/workflows/npm-publish-v2.yml

-29
This file was deleted.

.github/workflows/npm-publish.yml

+3-12
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,20 @@
1-
# This workflow publishes a package to GitHub Packages
2-
# whenever a release is published, and it's tag starts with "1"
3-
# The pipeline is aimed on "v1" branch
4-
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
5-
6-
name: Node.js Package v1
1+
name: Publish Package
72

83
on:
94
release:
105
types: [published]
11-
tags:
12-
- '1*'
136

147
jobs:
158
publish-npm:
169
runs-on: ubuntu-latest
1710
steps:
1811
- uses: actions/checkout@v4
19-
with:
20-
ref: 'v1'
2112
- uses: actions/setup-node@v4
2213
with:
23-
node-version: 20
14+
node-version: 22
2415
registry-url: https://registry.npmjs.org/
2516
- run: npm ci
2617
- run: npm run build
2718
- run: npm publish --access public
2819
env:
29-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
20+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

CHANGELOG.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ All notable changes to the "@qavajs/steps-api" will be documented in this file.
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

7-
:rocket: - new feature
8-
:beetle: - bugfix
9-
:x: - deprecation
10-
:pencil: - chore
7+
:rocket: - new feature
8+
:beetle: - bugfix
9+
:x: - deprecation/removal
10+
:pencil: - chore
11+
:microscope: - experimental
12+
13+
## [unreleased]
14+
- :beetle: fixed publishing workflow
1115

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

0 commit comments

Comments
 (0)