Skip to content

Commit

Permalink
🎬 Adds GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mrharpo committed Dec 13, 2024
1 parent a9685fc commit 4d96a5d
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
version: 2
updates:
# GitHub Actions
- package-ecosystem: github-actions
directory: .github/workflows
schedule:
interval: weekly
day: wednesday
time: '06:00'
timezone: US/Pacific
commit-message:
prefix: ⬆
labels:
- maintenance πŸ”§

# NPM
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
day: wednesday
time: '06:00'
timezone: US/Pacific
commit-message:
prefix: ⬆
labels:
- maintenance πŸ”§
groups:
# Group production dependencies together
# Combine all minor and patch updates into one PR
production-dependencies:
dependency-type: production
update-types:
- minor
- patch
# Group development dependencies together
development-dependencies:
dependency-type: development
update-types:
- minor
- patch
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 🏭 Build and Deploy to GitHub Pages
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

permissions:
contents: write

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4

- name: πŸ› οΈ Install and Build
run: |
npm ci
npm run build
- name: πŸš€ Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist

0 comments on commit 4d96a5d

Please sign in to comment.