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
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
ci:
name: Check, Lint & Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 11.5.2
run_install: false

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Type check
run: pnpm check

- name: Lint
run: pnpm lint

- name: Format check
run: pnpm format:check

- name: Build
run: pnpm build
32 changes: 0 additions & 32 deletions .github/workflows/deploy.yml

This file was deleted.

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ Marketing site and content hub for Ultraviolet, built with Astro and Tailwind CS

Run commands from the repository root:

| Command | Action |
| :-- | :-- |
| `pnpm install` | Install dependencies |
| `pnpm run dev` | Start the local Astro development server |
| `pnpm run build` | Build the production site |
| `pnpm run preview` | Preview the production build locally |
| `pnpm run check` | Run Astro and TypeScript checks |
| Command | Action |
| :----------------- | :--------------------------------------- |
| `pnpm install` | Install dependencies |
| `pnpm run dev` | Start the local Astro development server |
| `pnpm run build` | Build the production site |
| `pnpm run preview` | Preview the production build locally |
| `pnpm run check` | Run Astro and TypeScript checks |

## Content Notes

Expand Down
4 changes: 2 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";

import sitemap from "@astrojs/sitemap";

Expand Down
14 changes: 14 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import js from "@eslint/js";
import tseslint from "typescript-eslint";
import astro from "eslint-plugin-astro";
import prettier from "eslint-config-prettier";

export default tseslint.config(
{
ignores: ["dist/", ".astro/", "node_modules/", ".wrangler/"],
},
js.configs.recommended,
...tseslint.configs.recommended,
...astro.configs.recommended,
prettier,
);
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ultraviolet-website",
"type": "module",
"version": "0.0.1",
"packageManager": "pnpm@9.15.4",
"packageManager": "pnpm@11.5.2",
"scripts": {
"dev": "astro dev",
"build": "astro build",
Expand All @@ -20,8 +20,8 @@
"@astrojs/cloudflare": "^12",
"@astrojs/sitemap": "^3.7.2",
"@astrojs/tailwind": "^6.0.2",
"astro": "^5.17.1",
"lucide-astro": "^0.556.0"
"@lucide/astro": "^1.17.0",
"astro": "^5.17.1"
},
"devDependencies": {
"@astrojs/check": "^0.9.6",
Expand Down
Loading
Loading