Skip to content

Commit

Permalink
chore: initial dependabot and gha configs
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Gammon <[email protected]>
  • Loading branch information
sgammon committed Mar 16, 2024
1 parent c232ac6 commit 9bdd9e4
Show file tree
Hide file tree
Showing 8 changed files with 130 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
16 changes: 16 additions & 0 deletions .github/workflows/check.prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Check: Prettier"

on:
workflow_call: {}
workflow_dispatch: {}

permissions:
contents: read

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: "Setup: Checkout"
uses: actions/checkout@v4
16 changes: 16 additions & 0 deletions .github/workflows/check.workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Check: Workflows"

on:
workflow_call: {}
workflow_dispatch: {}

permissions:
contents: read

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: "Setup: Checkout"
uses: actions/checkout@v4
16 changes: 16 additions & 0 deletions .github/workflows/ci.build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Build"

on:
workflow_call: {}
workflow_dispatch: {}

permissions:
contents: read

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: "Setup: Checkout"
uses: actions/checkout@v4
16 changes: 16 additions & 0 deletions .github/workflows/ci.deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Deploy"

on:
workflow_call: {}
workflow_dispatch: {}

permissions:
contents: read

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: "Setup: Checkout"
uses: actions/checkout@v4
16 changes: 16 additions & 0 deletions .github/workflows/ci.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Test"

on:
workflow_call: {}
workflow_dispatch: {}

permissions:
contents: read

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: "Setup: Checkout"
uses: actions/checkout@v4
26 changes: 26 additions & 0 deletions .github/workflows/on.pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: PR

on:
pull_request:
branches:
- main

permissions:
contents: read

jobs:
build:
name: "Build & Test"
uses: ./.github/workflows/ci.build.yml

test:
name: "Build & Test"
uses: ./.github/workflows/ci.test.yml

check-prettier:
name: "Check: Prettier"
uses: ./.github/workflows/check.prettier.yml

check-workflows:
name: "Check: Workflows"
uses: ./.github/workflows/check.workflows.yml
18 changes: 18 additions & 0 deletions .github/workflows/on.push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Push

on:
push:
branches:
- main

permissions:
contents: read

jobs:
build:
name: "Build"
uses: ./.github/workflows/ci.build.yml

deploy:
name: "Deploy"
uses: ./.github/workflows/ci.deploy.yml

0 comments on commit 9bdd9e4

Please sign in to comment.