Skip to content

Commit

Permalink
New: Adding semantic-release package and requirements to the project [#…
Browse files Browse the repository at this point in the history
  • Loading branch information
cahirodoherty-learningpool authored Jul 24, 2022
1 parent 67b00bc commit 3381c01
Show file tree
Hide file tree
Showing 5 changed files with 4,422 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[//]: # (Please title your PR according to eslint commit conventions)
[//]: # (See https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-eslint#eslint-convention for details)
[//]: # (Title examples:)
[//]: # (Revision 0.0.x "Fix: Corrected rendering bug with titles \(fixes #123\)")
[//]: # (Revision 0.0.x "Update: Switched to ES6 \(fixes #123\)")
[//]: # (Minor 0.x.0 "New: Added tooltip API \(fixes #123\)")
[//]: # (Major x.0.0 "Breaking: Rewritten API \(fixes #123\)")

[//]: # (Link the PR to the original issue)
[//]: # (fixes #123)
[//]: # (refs #123)

[//]: # (Delete Fix, Update, New and/or Breaking sections as appropriate)
### Fix
* A sentence describing each fix

### Update
* A sentence describing each udpate

### New
* A sentence describing each new feature

### Breaking
* A sentence describing each breaking change

[//]: # (List appropriate steps for testing if needed)
### Testing
1. Steps for testing

[//]: # (Mention any other dependencies)
[//]: # (requires #456)

25 changes: 25 additions & 0 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Loading

0 comments on commit 3381c01

Please sign in to comment.