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

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node: [24]

steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
- name: Installing project dependencies
run: |
npm ci
# - name: Format
# run: |
# npm run format:check
# - name: Lint
# run: |
# npm run lint
- name: Check Types
run: |
npm run check
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*DS_Store
*.log
node_modules/
public/
.greenwood/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.4.0
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
# playground.wcc.dev
Playground repository for wcc.dev

Playground repository for [wcc.dev](https://www.wcc.dev) built using [**Greenwood**](https://greenwoodjs.dev/).

## Setup

1. Clone the repository
1. Have NodeJS LTS installed (or run `nvm use`)
1. Run `npm ci`

## Commands

To start the local development server, run:

```sh
$ npm run dev
```

To generate a production build, run:

```sh
$ npm run build
```

To start the production server, run:

> _**Note**: make sure you have generated a production build first._

```sh
$ npm run serve
```
5 changes: 5 additions & 0 deletions greenwood.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { Config } from "@greenwood/cli";

const config: Config = {};

export default config;
9 changes: 9 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[build]
publish = "public/"
command = "npm run build"

[build.processing]
skip_processing = true

[build.environment]
NODE_VERSION = "24.4.0"
Loading