Skip to content

Commit

Permalink
attempt to include optional dependencies since package-lock contains …
Browse files Browse the repository at this point in the history
…the turbo-linux-64

Signed-off-by: zFernand0 <[email protected]>
  • Loading branch information
zFernand0 committed Feb 1, 2024
1 parent f8cbd56 commit 28a2c60
Showing 1 changed file with 17 additions and 22 deletions.
39 changes: 17 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,15 @@ jobs:
echo "::remove-matcher owner=eslint-compact::"
echo "::remove-matcher owner=eslint-stylish::"
# - name: Install turbo based on the OS
# if: matrix.os == 'windows-latest' || matrix.os == 'macos-latest'
# run: |
# os_name="${{ matrix.os }}"
# os_name=${os_name%-latest}
# npm i "turbo-${os_name}-64"

- name: Install Dependencies
run: npm ci
run: npm ci --include=optional

- name: Update Dependencies
id: npm-update
Expand Down Expand Up @@ -102,11 +109,10 @@ jobs:
persist-credentials: false
ref: ${{ github.ref }}

# Use Node 16 until npm@9 bundled with Node 18 becomes more stable
- name: Use Node.js 16
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: lts/*

- name: Install Dependencies
run: npm ci
Expand All @@ -126,23 +132,12 @@ jobs:

- uses: zowe-actions/octorelease@v1
env:
GIT_COMMITTER_NAME: zowe_robot
GIT_COMMITTER_EMAIL: [email protected]
GIT_CREDENTIALS: x-access-token:${{ secrets.GITHUB_TOKEN }}
GIT_COMMITTER_NAME: ${{ secrets.ZOWE_ROBOT_USER }}
GIT_COMMITTER_EMAIL: ${{ secrets.ZOWE_ROBOT_EMAIL }}
GIT_CREDENTIALS: x-access-token:${{ secrets.ZOWE_ROBOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_USERNAME: dummy
NPM_PASSWORD: dummy
NPM_EMAIL: [email protected]
NPM_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
NPM_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
NPM_EMAIL: ${{ secrets.ZOWE_ROBOT_EMAIL }}
with:
config-dir: .github
# - uses: zowe-actions/octorelease@v1
# env:
# GIT_COMMITTER_NAME: ${{ secrets.ZOWE_ROBOT_USER }}
# GIT_COMMITTER_EMAIL: ${{ secrets.ZOWE_ROBOT_EMAIL }}
# GIT_CREDENTIALS: x-access-token:${{ secrets.ZOWE_ROBOT_TOKEN }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
# NPM_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
# NPM_EMAIL: ${{ secrets.ZOWE_ROBOT_EMAIL }}
# with:
# config-dir: .github
config-dir: .github

0 comments on commit 28a2c60

Please sign in to comment.