Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Notplayingallday383 authored Feb 26, 2024
1 parent c2d9731 commit 85c9e3d
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "pnpm"
directory: "/"
schedule:
interval: "daily"
36 changes: 36 additions & 0 deletions .github/workflows/archive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Archive to Wayback Machine

on:
push:
branches:
- main

jobs:
archive:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.12

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wayback-machine-archiver
- name: Archive to Wayback Machine
run: |
archiver https://z1g-project.pages.dev
archiver https://z1g-project.pages.dev/projects
archiver https://z1g-project.pages.dev/status
archiver https://z1g-project.pages.dev/support/
archiver https://z1g-project.pages.dev/discord/
archiver https://z1g-project.pages.dev/copyright/
archiver https://z1g-project.pages.dev/copyright/3rdparty/
archiver https://z1g-project.pages.dev/copyright/terms
archiver https://z1g-project.pages.dev/copyright/licenses/MIT.txt
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lighthouse CI
on:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install && pnpm install -g @lhci/cli@0.13.x tsx
- name: Run build
run: pnpm run build
- name: Run Lighthouse CI
run: lhci autorun

0 comments on commit 85c9e3d

Please sign in to comment.