Skip to content

Commit

Permalink
ci: 💚 fix the build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Matb85 committed Mar 18, 2024
1 parent 8af9112 commit c9c70da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
node: [20]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- uses: pnpm/action-setup@v2.2.2
- uses: pnpm/action-setup@v3
with:
version: 7.x.x
version: 8.x.x

- name: Install dependencies
run: pnpm --version && pnpm i

- name: Build
run: VITE_BASE_URL="/PhotoEditor/" pnpm build
run: VITE_BASE_URL="/PhotoEditor/" pnpm run build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "vite-project",
"name": "@matb85/photoeditor",
"private": false,
"version": "2.1.0",
"type": "module",
Expand Down

0 comments on commit c9c70da

Please sign in to comment.