-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: add .npmrc file to .gitignore * ci: add pull request template * ci: change lint build and test workflow * ci: update release workflow * build(webpack): update webpack to work with node 18+ * docs: update contributing guide * docs: add mit license to package.json * ci: update deploy to use new github actions for deployment to github pages * build: update husky and eslint * refactor: remove unused testing * refactor: change favicon and update title * refactor: update x profile * feat: update cv to v11.0.0 * chore: squash
- Loading branch information
1 parent
df091c7
commit fe5b41f
Showing
77 changed files
with
3,150 additions
and
11,470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- | ||
The title should summarise what the purpose of this change, | ||
⚠️**NOTE:** The title must conform to the conventional commit message format outlined in CONTRIBUTING.md document, at the root of the project. This is to ensure the merge commit to the main branch is picked up by the CI and creates an entry in the CHANGELOG.md. | ||
--> | ||
|
||
# Description | ||
<!-- Describe your changes in detail --> | ||
|
||
# Type of change | ||
<!-- What type of change does this change introduce? Put an 'x' in all the boxes that apply. --> | ||
|
||
- [ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] 🏗️ Build configuration (CI configuration, scaffolding etc.) | ||
- [ ] 🐛 Bug fix (non-breaking change which fixes an issue) | ||
- [ ] 📝 Documentation update(s) | ||
- [ ] 📦 Dependency update(s) | ||
- [ ] 👩🏽💻 Improve developer experience | ||
- [ ] ⚡ Improve performance | ||
- [ ] ✨ New feature (non-breaking change which adds functionality) | ||
- [ ] ♻ Refactor | ||
- [ ] ⏪ Revert changes | ||
- [ ] 🧪 New tests or updates to existing tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Deploy | ||
|
||
on: | ||
release: | ||
types: [released] # triggered on main branch releases | ||
|
||
jobs: | ||
deploy: | ||
name: "Deploy" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "🛎 Checkout" | ||
uses: actions/checkout@v3 | ||
- name: "🔧 Setup" | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: yarn | ||
- name: "📝 Create .npmrc" | ||
run: | | ||
echo "//npm.pkg.github.com/:_authToken=${{ secrets.READ_PACKAGES_TOKEN }}" >> .npmrc | ||
echo "@kieranroneill:registry=https://npm.pkg.github.com" >> .npmrc | ||
- name: "📦 Install" | ||
run: yarn install --frozen-lockfile | ||
- name: "🏗️ Build" | ||
run: yarn build | ||
- name: "🚀 Deploy" | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
cname: kieranoneill.com | ||
personal_token: ${{ secrets.READ_AND_WRITE_REPOS_TOKEN }} | ||
publish_branch: gh-pages | ||
publish_dir: ./dist | ||
user_name: kieranroneill | ||
user_email: [email protected] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Pull Request Checks | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
lint_build_test: | ||
name: "Lint, Build & Test" | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: "🛎 Checkout" | ||
uses: actions/checkout@v3 | ||
- name: "🔧 Setup" | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: yarn | ||
- name: "📝 Create .npmrc" | ||
run: | | ||
echo "//npm.pkg.github.com/:_authToken=${{ secrets.READ_PACKAGES_TOKEN }}" >> .npmrc | ||
echo "@kieranroneill:registry=https://npm.pkg.github.com" >> .npmrc | ||
- name: "📦 Install" | ||
run: yarn install --frozen-lockfile | ||
- name: "👕 Lint" | ||
run: yarn lint | ||
- name: "🏗️ Build" | ||
run: yarn build | ||
- name: "🧪 Test" | ||
run: yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,26 +7,25 @@ on: | |
|
||
jobs: | ||
release: | ||
name: "Release" | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [ '14.15.1' ] | ||
|
||
steps: | ||
- name: "Checkout 🛎️" | ||
uses: actions/checkout@v2 | ||
- name: "Setup Node.js ${{ matrix.node-version }} 🔧" | ||
uses: actions/setup-node@v1 | ||
- name: "🛎 Checkout" | ||
uses: actions/checkout@v3 | ||
- name: "🔧 Setup" | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
registry-url: https://npm.pkg.github.com/ | ||
scope: '@kieranroneill' | ||
- name: "Install 📦" | ||
run: yarn install --frozen-lockfile | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }} | ||
- name: "Release 🔖" | ||
node-version: 18 | ||
cache: yarn | ||
- name: "📦 Install" | ||
run: yarn global add semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/npm @semantic-release/github @semantic-release/git @semantic-release/changelog | ||
- name: "🔖 Release" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PAT_RELEASE }} | ||
run: npx semantic-release | ||
# appears on the release commits | ||
GIT_AUTHOR_NAME: kieranroneill | ||
GIT_AUTHOR_EMAIL: [email protected] | ||
GIT_COMMITTER_NAME: kieranroneill | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
# used to push the release commit and create the tags | ||
GITHUB_TOKEN: ${{ secrets.READ_AND_WRITE_REPOS_TOKEN }} | ||
run: semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.