aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-06 02:10:57 +0300
committerValentin Popov <valentin@popov.link>2025-06-06 02:12:22 +0300
commit81bcfbdc654f9da9f4c99b0d16fc1217eec0a8e4 (patch)
treec6fe7fdc94c3d679911a8d22d0d58e09524b887d /.github
parent4266100d7f52c440fc94cb02ed12deda14178548 (diff)
downloadpopov.link-81bcfbdc654f9da9f4c99b0d16fc1217eec0a8e4.tar.xz
popov.link-81bcfbdc654f9da9f4c99b0d16fc1217eec0a8e4.zip
Migrate from Gitea Actions to GitHub Actions
Diffstat (limited to '.github')
-rw-r--r--.github/dependabot.yml14
-rw-r--r--.github/renovate.json16
-rw-r--r--.github/workflows/ci.yml26
3 files changed, 56 insertions, 0 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..7233aac
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,14 @@
+version: 2
+updates:
+ - package-ecosystem: "npm"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ - package-ecosystem: "devcontainers"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "weekly"
diff --git a/.github/renovate.json b/.github/renovate.json
new file mode 100644
index 0000000..7904aa8
--- /dev/null
+++ b/.github/renovate.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": ["config:recommended", ":disableDependencyDashboard"],
+ "assignees": ["valentineus"],
+ "labels": ["dependencies", "automated"],
+ "packageRules": [
+ {
+ "description": "Group patch & minor updates together",
+ "groupName": "all digest updates",
+ "groupSlug": "all-digest",
+ "matchUpdateTypes": ["minor", "patch", "pin", "digest"],
+ "matchPackageNames": ["*"],
+ "automerge": true
+ }
+ ]
+}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..0333c75
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,26 @@
+name: CI
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ branches: [master]
+
+permissions:
+ contents: read
+
+jobs:
+ test:
+ name: Test
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ - name: Set up Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ - name: Install dependencies
+ run: npm ci
+ - name: Run checks
+ run: npm run check