byu-oit / byu-oit/frontend-template-nuxt

Correct working directory missing from npm pipeline commands

Open
#385 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The .github/workflows/pipeline.yml file is missing the correct working directory for the the rest of the npm commands following the "Install" step.

` - name: Install
working-directory: ${{ env.app_working_dir }}
run: npm ci --prefer-offline

- name: Build
env:
NUXT_TELEMETRY_DISABLED: 1
NUXT_ENV_OAUTH_CLIENT_ID: ${{ steps.ssm.outputs.client_id }}
NUXT_ENV_OAUTH_CALLBACK_URL: ${{ steps.ssm.outputs.callback_url }}
# NUXT_ENV_APP_DYNAMICS_KEY: ${{ steps.ssm.outputs.app_dynamics_key }}
working-directory: ${{ env.app_working_dir }}
run: npm run build

- name: Test
working-directory: ${{ env.app_working_dir }}
run: npm run test --coverage

- name: CodeCov
uses: codecov/codecov-action@v2.0.2
if: ${{ github.actor != 'dependabot[bot]' }}
with:
token: ${{ secrets.codecov_token }}

- name: Lint
working-directory: ${{ env.app_working_dir }}
run: npm run lint`

Contributor guide

No contributing guide indexed for this repository

Research direction

Open .github/workflows/pipeline.yml and compare the Install step with the following Build, Test, and Lint npm steps. Verify that each runs from env.app_working_dir and that the pipeline commands complete from the intended directory; the issue is done when the workflow consistently uses that directory for the remaining npm commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt
Domain
ci-cd
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.