Skip to content

Commit 440a4e3

Browse files
authored
Remove GitHub packages registry publishing
1 parent cc0baf4 commit 440a4e3

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 EPAM Systems
1+
# Copyright 2025 EPAM Systems
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at
@@ -19,7 +19,7 @@ on:
1919

2020
permissions:
2121
id-token: write # Required for NPM OIDC
22-
contents: write
22+
contents: read
2323

2424
jobs:
2525
build:
@@ -38,7 +38,7 @@ jobs:
3838
- name: Run tests and check coverage
3939
run: npm run test:coverage
4040

41-
publish-to-npm-and-gpr:
41+
publish-to-npm:
4242
needs: build
4343
runs-on: ubuntu-latest
4444
steps:
@@ -55,17 +55,3 @@ jobs:
5555
run: |
5656
npm config list
5757
npm publish --access public
58-
- name: Set up Node.js
59-
uses: actions/setup-node@v6
60-
with:
61-
node-version: 24
62-
registry-url: 'https://npm.pkg.github.com'
63-
scope: '@reportportal'
64-
- name: Publish to GPR
65-
run: |
66-
npm config set //npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN
67-
npm config set scope '@reportportal'
68-
npm config list
69-
npm publish
70-
env:
71-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)