Skip to content

Commit

Permalink
Added npm build
Browse files Browse the repository at this point in the history
  • Loading branch information
kylosus authored Apr 26, 2024
1 parent 8b7a19a commit 527fc15
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Install dependencies and build
run: |
npm install
npm run build
- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'dist/'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 527fc15

Please sign in to comment.