Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrieleLabanca authored Jun 18, 2024
1 parent 81c6799 commit 072be17
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,23 @@ jobs:
- run: npm test
- run: npm run build --if-present
- run: npm run deploy
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: ./artifact

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Download build artifacts
uses: actions/download-artifact@v2
with:
name: build-artifacts
path: ./artifact
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
Expand Down

0 comments on commit 072be17

Please sign in to comment.