bencodezen / vue-enterprise-boilerplate

An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.
7.77k stars 1.32k forks source link

yarn build failed in github action #209

Closed tuhin47 closed 1 year ago

tuhin47 commented 3 years ago

I wrote an action for GitHub. It doesn't work using yarn. But works properly by npm. My npm action main.xml code

name: ubuntu on: push: branches: [master] pull_request: branches: [master] jobs: normal-run: runs-on: ubuntu-latest steps:

  • name: Checkout uses: actions/checkout@v1
  • name: Install Xvfb libxss1 run: sudo apt-get install xvfb libxss1
  • name: npm install run: npm install --no-optional
  • name: build run: npm run build
    • [ Please provide a recommended GitHub workflow action]
borysl commented 3 years ago

I actually downloaded boilerplate today and find out that with yarn it doesn't work spewing suspect exception in one of the dependencies), while it did work with npm. More over npm takes less time.

> npm -v
6.14.8
>node -v
v14.15.1
>yarn -v
1.22.10

so currently I found npm more useful.