From 28a2c60c419b8625c8138826087efc8288801206 Mon Sep 17 00:00:00 2001 From: zFernand0 <37381190+zFernand0@users.noreply.github.com> Date: Thu, 1 Feb 2024 19:42:08 +0000 Subject: [PATCH] attempt to include optional dependencies since package-lock contains the turbo-linux-64 Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> --- .github/workflows/main.yml | 39 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fb8243a9..7358458b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 @@ -126,23 +132,12 @@ jobs: - uses: zowe-actions/octorelease@v1 env: - GIT_COMMITTER_NAME: zowe_robot - GIT_COMMITTER_EMAIL: zowe.robot@gmail.com - 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: zowe.robot@gmail.com + 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 \ No newline at end of file + config-dir: .github \ No newline at end of file