Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Build and Deploy

env:
CI: false
GITHUB_USERNAME: ${{ github.repository_owner }}
Expand All @@ -9,25 +10,28 @@ on:
push:
branches:
- main
# schedule:
# # see https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events
# - cron: "30 6 * * *"
workflow_dispatch:

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Setup Node.js 🔧
uses: actions/setup-node@v4
with:
node-version: 20
node-version: latest

- name: Update npm 🚀
run: npm install -g npm@latest

- name: Install and Build 🔧 # Build the Project
run: |
npm ci
npm install
npm run build

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
with:
persist-credentials: false

- uses: actions/setup-node@v4
- name: Setup Node.js 🔧
uses: actions/setup-node@v4
with:
node-version: 20
node-version: latest

# Install dependencies
- name: Install 🔧
Expand Down
25 changes: 11 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.