-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
927 additions
and
1,392 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Bun | ||
uses: oven-sh/setup-bun@v1 | ||
|
||
- name: Install dependencies | ||
run: bun install --frozen-lockfile | ||
|
||
- name: Build project | ||
run: bun run build | ||
|
||
publish: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # Publish GitHub Releases | ||
issues: write # Comment on issues | ||
pull-requests: write # Comment on PRs | ||
id-token: write # OIDC token for npm provenance | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Bun | ||
uses: oven-sh/setup-bun@v1 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 'lts/iron' | ||
|
||
- name: Import GPG | ||
uses: crazy-max/ghaction-import-gpg@v6 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
git_user_signingkey: true | ||
git_commit_gpgsign: true | ||
|
||
- name: Install dependencies | ||
run: bun install --frozen-lockfile | ||
|
||
- name: Build project | ||
run: bun run build | ||
|
||
# Workaround for verifyConditions step of @semantic-release/npm | ||
- run: cp ../package.json . | ||
working-directory: dist | ||
|
||
- name: Release | ||
run: bunx semantic-release | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GIT_AUTHOR_NAME: ${{ github.actor }} | ||
GIT_AUTHOR_EMAIL: ${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com | ||
GIT_COMMITTER_NAME: brewcoua-bot | ||
GIT_COMMITTER_EMAIL: 151367391+brewcoua-bot@users.noreply.github.com |
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
node_modules/ | ||
node_modules/ | ||
.rollup.cache | ||
*.tsbuildinfo | ||
dist/ |
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,39 @@ | ||
## [1.1.3](https://github.com/brewcoua/web-som/compare/v1.1.2...v1.1.3) (2024-06-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **ci:** remove signed push to avoid github failure ([8e2893e](https://github.com/brewcoua/web-som/commit/8e2893ec6c824647308870fcc44c0fdfc5c26a17)) | ||
* **ci:** remove tag sign since it forces EDITOR to be set ([d5d6cc9](https://github.com/brewcoua/web-som/commit/d5d6cc9b0d35bed2f0938001fe323caed3265ed5)) | ||
* **ci:** update author and committer & sign action commits ([842605a](https://github.com/brewcoua/web-som/commit/842605a65dc9c7eb07e8a48f1c62115c39fa9175)) | ||
|
||
## [1.1.2](https://github.com/brewcoua/web-som/compare/v1.1.1...v1.1.2) (2024-06-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **release:** add double exec to commit bumped version ([0cb3dcb](https://github.com/brewcoua/web-som/commit/0cb3dcbac61d0860698dac829fd346eba8c31b75)) | ||
|
||
## [1.1.1](https://github.com/brewcoua/web-som/compare/v1.1.0...v1.1.1) (2024-06-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **rollup:** update built format to UMD & fix usage info ([e027208](https://github.com/brewcoua/web-som/commit/e027208ef1f3f7ac069dddbcb9a55619c0360e49)) | ||
|
||
# [1.1.0](https://github.com/brewcoua/web-som/compare/v1.0.0...v1.1.0) (2024-06-08) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **visibility:** missing candidates from QT query & parent zIndex relationship for isAbove ([428a342](https://github.com/brewcoua/web-som/commit/428a3423b605dd7b0004eb9013dc965fd9abac58)) | ||
|
||
|
||
### Features | ||
|
||
* **colors:** set box colors contrasted from surrounding colors ([a45bde1](https://github.com/brewcoua/web-som/commit/a45bde1d1f70f782b77d709b873d76e408a597e6)) | ||
|
||
|
||
### Performance Improvements | ||
|
||
* use quadtree to optimize element mapping ([32660db](https://github.com/brewcoua/web-som/commit/32660dbda7394a0e8719f8a7ad10daaaadd7e710)) |
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.