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

Commit

Permalink
Merge pull request #141 from zowe/updateWorkflows
Browse files Browse the repository at this point in the history
versioning changes - lts
  • Loading branch information
zFernand0 committed May 11, 2023
2 parents d9f19d5 + 2af5155 commit e7fda44
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/audit.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
# schedule:
# - cron: '0 10 * * *'
Expand All @@ -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
14 changes: 7 additions & 7 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 @@ -45,7 +45,7 @@ jobs:

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

Expand All @@ -59,7 +59,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 @@ -77,7 +77,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
Expand All @@ -92,7 +92,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 @@ -103,7 +103,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

0 comments on commit e7fda44

Please sign in to comment.