fix npm for windows
This commit is contained in:
@@ -7,24 +7,27 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: windows
|
- os: windows-latest
|
||||||
|
goos: windows
|
||||||
arch: amd64
|
arch: amd64
|
||||||
ext: .exe
|
ext: .exe
|
||||||
- os: linux
|
- os: ubuntu-latest
|
||||||
|
goos: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
ext: ""
|
ext: ""
|
||||||
- os: linux
|
- os: ubuntu-latest
|
||||||
|
goos: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
ext: ""
|
ext: ""
|
||||||
- os: linux
|
- os: ubuntu-latest
|
||||||
|
goos: linux
|
||||||
arch: arm
|
arch: arm
|
||||||
arm_version: 6
|
arm_version: 6
|
||||||
ext: ""
|
ext: ""
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -39,7 +42,9 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Install Quasar CLI
|
- name: Install Quasar CLI
|
||||||
run: npm install -g @quasar/cli
|
run: |
|
||||||
|
npm cache clean --force
|
||||||
|
npm install -g @quasar/cli --force
|
||||||
|
|
||||||
- name: Build Quasar SPA
|
- name: Build Quasar SPA
|
||||||
run: quasar build
|
run: quasar build
|
||||||
|
Reference in New Issue
Block a user