From e5f852526033d26f1bb2480b19d96e9a84e28367 Mon Sep 17 00:00:00 2001 From: Ilya Hancharyk Date: Mon, 23 Sep 2024 16:54:10 +0200 Subject: [PATCH] Update workflow files --- .github/workflows/CI-pipeline.yml | 10 ++++++++-- .github/workflows/publish.yml | 12 ++++++------ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI-pipeline.yml b/.github/workflows/CI-pipeline.yml index b6fea47..3af84ed 100644 --- a/.github/workflows/CI-pipeline.yml +++ b/.github/workflows/CI-pipeline.yml @@ -22,6 +22,12 @@ on: - README.md - CHANGELOG.md pull_request: + branches: + - develop + - master + paths-ignore: + - README.md + - CHANGELOG.md jobs: test: @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c0edc27..5bdfb22 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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 @@ -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