From 87dd1ec09b11709153a8d97bfb98932ee8695624 Mon Sep 17 00:00:00 2001 From: Alexandr_Legchilov Date: Fri, 6 Dec 2024 11:24:39 +0300 Subject: [PATCH] fix publish --- .github/workflows/npm-publish-v2.yml | 29 ---------------------------- .github/workflows/npm-publish.yml | 13 ++----------- CHANGELOG.md | 9 +++++++++ 3 files changed, 11 insertions(+), 40 deletions(-) delete mode 100644 .github/workflows/npm-publish-v2.yml diff --git a/.github/workflows/npm-publish-v2.yml b/.github/workflows/npm-publish-v2.yml deleted file mode 100644 index 21ad551..0000000 --- a/.github/workflows/npm-publish-v2.yml +++ /dev/null @@ -1,29 +0,0 @@ -# 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: 22 - 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}} diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index cd52bf3..0a87dcd 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,23 +1,14 @@ -# 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 v1 +name: Publish Package on: release: - types: [published] - tags: - - '1*' + types: [created] jobs: publish-npm: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - ref: 'v1' - uses: actions/setup-node@v4 with: node-version: 22 diff --git a/CHANGELOG.md b/CHANGELOG.md index c36a45d..42e0bf5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to the "@qavajs/steps-visual-testing" will be documented in Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +:rocket: - new feature +:beetle: - bugfix +:x: - deprecation/removal +:pencil: - chore +:microscope: - experimental + +## [unreleased] +- :beetle: fixed publishing workflow + ## [2.0.0] - :rocket: added initial implementation of v2