Skip to content

Commit

Permalink
feat: First working version
Browse files Browse the repository at this point in the history
  • Loading branch information
ff6347 committed Dec 3, 2024
1 parent a106cbb commit b8aa891
Show file tree
Hide file tree
Showing 14 changed files with 14,911 additions and 6,251 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests
name: Node.js CI
permissions:
contents: write
packages: write
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
env:
CI: true
ESLINT_USE_FLAT_CONFIG: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js from .node-version
uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
- run: npm ci
- run: npm run build --if-present
- run: npm run test --if-present
release:
name: semantic-release
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
- run: |
npm ci
npx semantic-release --ci
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .netlify/v1/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"images":{"remote_images":[]},"headers":[{"for":"/_astro/*","values":{"Cache-Control":"public, max-age=31536000, immutable"}}]}
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v23.2.0
4 changes: 2 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
18 changes: 9 additions & 9 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
10 changes: 7 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
// @ts-check
// @ts-check
import { defineConfig } from 'astro/config';
import { defineConfig } from "astro/config";

import netlify from "@astrojs/netlify";

// https://astro.build/config
export default defineConfig({});
export default defineConfig({
output: "server",
adapter: netlify(),
});
Loading

0 comments on commit b8aa891

Please sign in to comment.