Skip to content

Commit

Permalink
ci: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed Dec 2, 2024
1 parent ac0861d commit 31a6b74
Showing 1 changed file with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,27 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout

- name: Checkout repo
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install Dependencies
node-version: 'latest'

- name: Install frontend dependencies
working-directory: ./frontend
run: npm ci
- name: Build

- name: Build frontend
working-directory: ./frontend
run: npm run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./dist
path: ./frontend/dist

deploy:
environment:
Expand All @@ -40,4 +47,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v2

0 comments on commit 31a6b74

Please sign in to comment.