Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #57 from zowe/updateWorkFlowslts
Browse files Browse the repository at this point in the history
updating workflows - lts
  • Loading branch information
zFernand0 authored May 15, 2023
2 parents d850bab + 9d06b5b commit e64edac
Show file tree
Hide file tree
Showing 6 changed files with 255 additions and 146 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js LTS
uses: actions/setup-node@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches:
- master
- zowe-v1-lts
- zowe-v?-lts
- next

jobs:
Expand All @@ -14,12 +14,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Check Changelog Updated
uses: awharn/check_changelog_action@v0.0.2
uses: awharn/check_changelog_action@v1
with:
header: '## Recent Changes'
file: 'CHANGELOG.md'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
push:
branches:
- master
- zowe-v1-lts
- zowe-v?-lts
- next
pull_request:
branches:
- master
- zowe-v1-lts
- zowe-v?-lts
- next
# schedule:
# - cron: '0 10 * * *'
Expand All @@ -30,13 +30,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/resources/codeql-config.yml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches-ignore:
- 'master'
- 'zowe-v1-lts'
- 'zowe-v?-lts'
- 'next'
pull_request:
branches:
Expand All @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js LTS
uses: actions/setup-node@v3
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/zowe-cli-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [16.x, 18.x]
os: [windows-latest, ubuntu-latest, macos-latest]

env:
Expand All @@ -28,7 +28,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand All @@ -40,15 +40,12 @@ jobs:
echo "::remove-matcher owner=eslint-compact::"
echo "::remove-matcher owner=eslint-stylish::"
- name: Use NPM v8
run: npm install -g npm@^8

- name: Install Dependencies
run: npm ci

- name: Update Dependencies
id: npm-update
uses: zowe-actions/octorelease-script@master
uses: zowe-actions/octorelease/script@v1
with:
script: npmUpdate

Expand All @@ -66,7 +63,7 @@ jobs:

- name: Archive Results
if: ${{ always() && steps.build.outcome == 'success' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-${{ matrix.node-version }}-results
path: __tests__/__results__/
Expand All @@ -84,7 +81,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
Expand All @@ -99,7 +96,7 @@ jobs:
run: npm ci

- name: Update Dependencies
uses: zowe-actions/octorelease-script@master
uses: zowe-actions/octorelease/script@v1
env:
GIT_COMMITTER_NAME: ${{ secrets.ZOWE_ROBOT_USER }}
GIT_COMMITTER_EMAIL: ${{ secrets.ZOWE_ROBOT_EMAIL }}
Expand All @@ -110,7 +107,7 @@ jobs:
- name: Build Source
run: npm run build

- uses: zowe-actions/octorelease@master
- uses: zowe-actions/octorelease@v1
env:
GIT_COMMITTER_NAME: ${{ secrets.ZOWE_ROBOT_USER }}
GIT_COMMITTER_EMAIL: ${{ secrets.ZOWE_ROBOT_EMAIL }}
Expand Down
Loading

0 comments on commit e64edac

Please sign in to comment.