Skip to content

Commit

Permalink
Migrate to Pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadiducho committed Dec 26, 2023
1 parent f7a0970 commit bedfb5e
Show file tree
Hide file tree
Showing 7 changed files with 1,912 additions and 1,608 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ jobs:
name: Build
uses: Cadiducho/PrognoSports-Frontend/.github/workflows/vite.yml@master
with:
node_version: '18.x'
node_version: '20.x'
build_command: 'build'
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: frontend
path: ./dist
- name: Upload to server
uses: appleboy/[email protected].3
uses: appleboy/[email protected].6
with:
host: ${{ secrets.SECRET_FRONTEND_HOST }}
username: ${{ secrets.SECRET_FRONTEND_USER }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deployBeta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ jobs:
name: Build
uses: Cadiducho/PrognoSports-Frontend/.github/workflows/vite.yml@develop
with:
node_version: '18.x'
node_version: '20.x'
build_command: 'buildBeta'
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: frontend
path: ./dist
- name: Upload to server
uses: appleboy/[email protected].3
uses: appleboy/[email protected].6
with:
host: ${{ secrets.SECRET_FRONTEND_HOST }}
username: ${{ secrets.SECRET_FRONTEND_USER }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ jobs:
name: Build
uses: Cadiducho/PrognoSports-Frontend/.github/workflows/vite.yml@develop
with:
node_version: '18.x'
node_version: '20.x'
build_command: 'buildBeta'
12 changes: 6 additions & 6 deletions .github/workflows/vite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: "Node version to build."
type: string
required: false
default: '18.x'
default: '20.x'
build_command:
description: "Build command."
type: string
Expand All @@ -18,15 +18,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps :
- uses : actions/checkout@v3
- uses : actions/setup-node@v3
- uses : actions/checkout@v4
- uses : actions/setup-node@v4
with :
node-version : ${{ inputs.node_version }}
cache: 'npm'
cache: 'pnpm'
- name : Install dependencies
run : yarn install
run : pnpm install
- name : 🏭 Vue Build
run : yarn run ${{ inputs.build_command }}
run : pnpm run ${{ inputs.build_command }}
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Puedes ver los ciclos de desarrollo en el [Github Projects de PrognoSports](http
### Servidor de desarrollo

```
$ yarn run dev
$ pnpm run dev
```

### Compilación

```
$ yarn run build
$ pnpm run build
```


Expand Down
Loading

0 comments on commit bedfb5e

Please sign in to comment.