Skip to content

Commit

Permalink
Merge pull request #32 from ashblue/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
ashblue authored Sep 20, 2022
2 parents 6d888cd + 1abf77f commit d3734c0
Show file tree
Hide file tree
Showing 37 changed files with 10,801 additions and 18,352 deletions.
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: ashblue
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: ashblue
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
11 changes: 11 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Lint Commit Messages
on: [pull_request]

jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
19 changes: 19 additions & 0 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Nightly Build
on:
push:
branches:
- develop
jobs:
deployNightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: HUSKY=0 npm ci
- run: npm run build
- name: Deploy nightly branch
run: sh ./publish-nightly.sh
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: CI
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: HUSKY=0 npm ci
- run: npm run build
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run semantic-release
49 changes: 41 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,30 @@
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
[Bb]uilds/
Assets/AssetStoreTools*
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Uu]ser[Ss]ettings/
CodeCoverage/
UIElementsSchema/

# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data
/[Mm]emoryCaptures/

# Recordings can get excessive in size
/[Rr]ecordings/

/[Aa]ssets/AssetStoreTools*

# Autogenerated Jetbrains Rider plugin
/[Aa]ssets/Plugins/Editor/JetBrains*

# Visual Studio cache directory
/.vs/
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
Expand All @@ -22,18 +40,33 @@ ExportedObj/
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D Generated File On Crash Reports
sysinfo.txt

# Builds
*.apk
*.aab
*.unitypackage
/Logs/Packages-Update.log
*.app

# Crashlytics generated file
crashlytics-build.properties

# Packed Addressables
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*

# Temporary auto-generated Android Assets
/[Aa]ssets/[Ss]treamingAssets/aa.meta
/[Aa]ssets/[Ss]treamingAssets/aa/*

# Node.js
node_modules
Expand Down
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.17.0
22 changes: 22 additions & 0 deletions .oyster.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"description": "A Unity dialogue system that features an easy to use drag and drop graph. ScriptableObject driven with the ability to write custom actions and conditions to create complex dialogue workflows.",
"displayName": "Fluid Dialogue",
"keywords": [
"unity",
"dialogue",
"dialogue system"
],
"oysterVersion": "3.0.0",
"packageName": "com.fluid.dialogue",
"packageScope": "com.fluid",
"unityVersion": "2019.1",
"author": {
"name": "Ash Blue",
"email": "[email protected]",
"url": "http://blueashes.com"
},
"repo": {
"gitUrl": "https://github.com/ashblue/fluid-dialogue",
"gitUrlNoHttp": "github.com/ashblue/fluid-dialogue"
}
}
26 changes: 16 additions & 10 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,36 @@
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/exec",
{
"verifyConditionsCmd": "npm run build",
"prepareCmd": "npm run build"
"publishCmd": "npm run build"
}
],
"@semantic-release/git",
[
"@semantic-release/npm",
{
"pkgRoot": "dist"
"pkgRoot": "Assets/com.fluid.dialogue"
}
],
[
"@semantic-release/github",
"@semantic-release/git",
{
"assets": [
{
"path": "dist.zip",
"label": "Package Build"
}
"CHANGELOG.md",
"package.json",
"package-lock.json",
"npm-shrinkwrap.json",
"Assets/**/*"
]
}
]
],
"@semantic-release/github"
]
}
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit d3734c0

Please sign in to comment.