Skip to content

Commit

Permalink
Update workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet committed Sep 23, 2024
1 parent fa5759a commit e5f8525
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/CI-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ on:
- README.md
- CHANGELOG.md
pull_request:
branches:
- develop
- master
paths-ignore:
- README.md
- CHANGELOG.md

jobs:
test:
Expand All @@ -32,8 +38,8 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install of node dependencies
node-version: 20
- name: Install dependencies
run: npm install
- name: Build the source code
run: npm run build
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install of node dependencies
node-version: 20
- name: Install dependencies
run: npm install
- name: Build the source code
run: npm run build
Expand All @@ -45,10 +45,10 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Clean install of node dependencies
run: npm ci
- name: Install dependencies
run: npm install
- name: Build the source code
run: npm run build
- name: Publish to NPM
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: 'https://npm.pkg.github.com'
scope: '@reportportal'
- name: Publish to GPR
Expand Down

0 comments on commit e5f8525

Please sign in to comment.