Skip to content

Commit

Permalink
CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
MotorTruck1221 committed Sep 18, 2024
1 parent 5a43b7e commit 5c6d238
Show file tree
Hide file tree
Showing 8 changed files with 169 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "motortruck1221/create-dreamland-app" }],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
66 changes: 66 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Release

on:
#push:
# branches:
# - main
workflow_dispatch:

defaults:
run:
shell: bash

env:
FORCE_COLOR: true

jobs:
changelog:
name: Changelog PR or Release
if: ${{ github.repository_owner == 'motortruck1221' }}
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install other silly deps
run: apt update && apt install inotify-tools binaryen wget make gcc uuid-runtime jq

- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
target: i686-unknown-linux-gnu

- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 9.1.1

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"

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

- name: Build Packages
run: pnpm run build

#- name: Create Release Pull Request or Publish
#id: changesets
#uses: changesets/action@v1
#with:
# version: pnpm run version
# publish: pnpm exec changeset publish
# commit: "[ci] release"
# title: "[ci] release"
#env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Empty file added anura-types/CHANGELOG.md
Empty file.
4 changes: 2 additions & 2 deletions anura-types/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@mercuryworkshop/anura-types",
"version": "1.0.0",
"private": "true",
"description": "Types generated for anuraOS",
"scripts": {
},
"scripts": {},
"keywords": [
"anura",
"anuraOS",
Expand Down
Empty file added create-anura-app/CHANGELOG.md
Empty file.
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,21 @@
"version": "1.0.0",
"description": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"format": "pnpm run format:code && pnpm run format:imports",
"format:code": "biome format ./ --write",
"format:imports": "biome check --apply .",
"build": "turbo build",
"version": "changeset version",
"preinstall": "npx -y only-allow pnpm"
},
"author": "",
"license": "MIT",
"dependencies": {
"create-anura-app": "workspace:*"
"create-anura-app": "workspace:*"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@changesets/cli": "^2.27.7"
"@changesets/cli": "^2.27.7",
"turbo": "^2.1.2"
}
}
64 changes: 64 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"types": {
"dependsOn": ["^types"],
},
"build": {
"dependsOn": ["^build", "types"],
"outputs": ["dist"]
},
"lint": {},
"dev": {
"cache": false,
"persistent": true
}
}
}

0 comments on commit 5c6d238

Please sign in to comment.