Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace npm scripts commands with yarn #8833

Merged
merged 4 commits into from Feb 12, 2021

Conversation

jroebu14
Copy link
Contributor

@jroebu14 jroebu14 commented Feb 3, 2021

Resolves #8761

Overall change:

Yarn only needs to be used for installing node modules e.g. npm install -> yarn install and npm install some-package -> yarn add some-package so this is a separate PR from migrating to Yarn for installing dependencies

We don't really need to do this but if we think we should commit fully to yarn and get into the habit of using it then we should probably merge this

Code changes:

  • replaces any npm run references with yarn run in scripts and docs.

  • I have assigned myself to this PR and the corresponding issues
  • I have added the cross-team label to this PR if it requires visibility across World Service teams
  • I have assigned this PR to the Simorgh project

Testing:

  • Automated (jest and/or cypress) tests added (for new features) or updated (for existing features)
  • If necessary, I have run the local E2E non-smoke tests relevant to my changes (CYPRESS_APP_ENV=local CYPRESS_SMOKE=false npm run test:e2e:interactive)
  • This PR requires manual testing

@jroebu14 jroebu14 self-assigned this Feb 3, 2021
@jroebu14 jroebu14 added the cross-team For visibility for both World Service teams (Engage & Media) label Feb 3, 2021
@jroebu14 jroebu14 added this to Code Review in Simorgh Feb 3, 2021
@jroebu14 jroebu14 marked this pull request as ready for review February 3, 2021 11:44
Copy link
Contributor

@FK78 FK78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we expecting the tests on CI to fail?

@jroebu14 jroebu14 merged commit f7df215 into migrate-to-yarn Feb 12, 2021
Simorgh automation moved this from Code Review to Done Feb 12, 2021
@jroebu14 jroebu14 deleted the migrate-to-yarn-replace-npm-scripts branch February 12, 2021 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross-team For visibility for both World Service teams (Engage & Media)
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants