init
This commit is contained in:
30
.github/issue_template/bug.md
vendored
Normal file
30
.github/issue_template/bug.md
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
---
|
||||
|
||||
name: "Bug report"
|
||||
about: "Encountered an issue"
|
||||
ref: "develop"
|
||||
labels:
|
||||
- Type/Bug
|
||||
|
||||
---
|
||||
|
||||
# Bug Report
|
||||
<!-- Description of problem -->
|
||||
I tried to ...
|
||||
|
||||
But instead ...
|
||||
|
||||
## Steps to Reproduce
|
||||
<!-- How can developers replicate & test the problem? -->
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
## Logs
|
||||
<!-- Any logs that accompenied the error -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
## Screenshots
|
||||
<!-- Screenshots (annoted if possible) of the problem -->
|
22
.github/issue_template/enhancment.md
vendored
Normal file
22
.github/issue_template/enhancment.md
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
|
||||
name: "Enhancement"
|
||||
about: "Request a feature"
|
||||
ref: "develop"
|
||||
labels:
|
||||
- Type/Enhancement
|
||||
|
||||
---
|
||||
|
||||
# Feature Request
|
||||
<!-- Detailed description -->
|
||||
...
|
||||
|
||||
## Requirements
|
||||
<!-- Bullet list of requirments -->
|
||||
1. ...
|
||||
2. ...
|
||||
|
||||
## Notes
|
||||
<!-- Any additional considerations, solutions or design choices -->
|
||||
...
|
26
.github/issue_template/refactor.md
vendored
Normal file
26
.github/issue_template/refactor.md
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
|
||||
name: "Refactor"
|
||||
about: "Refactor existing system"
|
||||
ref: "develop"
|
||||
labels:
|
||||
- Kind/Refactor
|
||||
|
||||
---
|
||||
|
||||
# Refactor
|
||||
<!-- Detailed description -->
|
||||
The current...
|
||||
|
||||
Should be changed/updated to...
|
||||
|
||||
## Reasoning
|
||||
- ...
|
||||
|
||||
## Scope
|
||||
<!-- What systems will this impact -->
|
||||
- ...
|
||||
|
||||
## Notes
|
||||
<!-- Any additional design considerations -->
|
||||
...
|
15
.github/pull_request_template.md
vendored
Normal file
15
.github/pull_request_template.md
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
## Description
|
||||
<!-- Addition information & context -->
|
||||
...
|
||||
|
||||
## Issues
|
||||
<!-- Issues this PR will address -->
|
||||
- closes #___
|
||||
- owner/repo#___
|
||||
|
||||
## Checklist
|
||||
<!-- Complete after creating PR -->
|
||||
- [ ] Linked issues
|
||||
- [ ] Reviewed changes
|
||||
- [ ] Updated comments/documentation
|
||||
|
53
.github/workflows/build.yaml
vendored
Normal file
53
.github/workflows/build.yaml
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
name: Publish Library
|
||||
run-name: Publish Library
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build NPM Project
|
||||
runs-on: ubuntu-latest
|
||||
container: node:alpine
|
||||
steps:
|
||||
- name: Clone Repository
|
||||
uses: ztimson/actions/clone@develop
|
||||
|
||||
- name: Install & Build
|
||||
run: npm i && npm run build
|
||||
|
||||
- name: Upload to Registry
|
||||
uses: ztimson/actions/npm/publish@develop
|
||||
|
||||
- name: Upload to NPM
|
||||
uses: ztimson/actions/npm/publish@develop
|
||||
with:
|
||||
owner: ztimson
|
||||
registry: https://registry.npmjs.org/
|
||||
token: ${{secrets.NPM_TOKEN}}
|
||||
tag:
|
||||
name: Tag Version
|
||||
needs: build
|
||||
if: ${{github.ref_name}} == 'release'
|
||||
runs-on: ubuntu-latest
|
||||
container: node:alpine
|
||||
steps:
|
||||
- name: Clone Repository
|
||||
uses: ztimson/actions/clone@develop
|
||||
|
||||
- name: Get Version Number
|
||||
run: echo "VERSION=$(cat package.json | grep version | grep -Eo ':.+' | grep -Eo '[[:alnum:]\.\/\-]+')" >> $GITHUB_ENV
|
||||
|
||||
- name: Tag Version
|
||||
uses: ztimson/actions/tag@develop
|
||||
with:
|
||||
tag: ${{env.VERSION}}
|
||||
|
||||
docs:
|
||||
name: Publish CDN & Docs
|
||||
needs: build
|
||||
uses: ztimson/actions/.github/workflows/docker.yaml@develop
|
||||
with:
|
||||
name: ztimson/css-utils
|
||||
repository: ${{github.server_url}}/${{github.repository}}.git
|
||||
pass: ${{secrets.DEPLOY_TOKEN}}
|
Reference in New Issue
Block a user