-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing the CI/CD process on the master branch on my fork (#582)
- [x] Changed the `package.json` `repository` to `baruchiro`. Need to revert before merge. - [x] Need to check with Google Credentials because they are not configured in my repo. - [ ] When using the default config, on Mac, the file exporters get "readonly filesystem". The problem is they are not failed but running forever. **I can live with that** - [ ] run prettier --write on the target branch **some day, in dedicated commit and PR** - I removed the `CHANGELOG` file and the updated version from the `package.json` as suggested [here](https://semantic-release.gitbook.io/semantic-release/support/faq#making-commits-during-the-release-process-adds-significant-complexity) - We can continue with the failing pipelines, and not mark them as required. I commented out the OS matrix for tests to run only on Linux to save machine time. #### Tested Platforms Test this version: https://github.com/baruchiro/caspion/releases/tag/v1.33.4 - [x] Mac (Apple Silicon): Tested by @baruchiro - [x] CSV: @baruchiro - [x] Excel: @baruchiro - [ ] YNAB - [x] Google Sheets: @baruchiro - [ ] Mac (Intel Silicon) - [ ] CSV - [ ] Excel - [ ] YNAB - [ ] Google Sheets - [ ] Windows - [ ] CSV - [ ] Excel - [ ] YNAB - [ ] Google Sheets - [ ] Linux - [ ] CSV - [ ] Excel - [ ] YNAB - [ ] Google Sheets
- Loading branch information
Showing
23 changed files
with
417 additions
and
167 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
VITE_APP_VERSION=$npm_package_version | ||
VITE_APP_NAME=$npm_package_name | ||
VITE_APP_VERSION=0.0.0 | ||
VITE_APP_NAME=caspion | ||
|
||
SENTRY_DSN= | ||
VITE_SENTRY_DSN= | ||
|
||
GOOGLE_CLIENT_ID= | ||
GOOGLE_CLIENT_ID= | ||
VITE_GOOGLE_CLIENT_ID= | ||
VITE_GOOGLE_CLIENT_SECRET= |
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: Build | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: | ||
- macos-latest | ||
- ubuntu-latest | ||
- windows-latest | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Node.js, NPM and Yarn | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: 'yarn' | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Build | ||
run: yarn compile | ||
|
||
|
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
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,40 @@ | ||
name: PR Title | ||
|
||
on: | ||
pull_request: | ||
types: [opened, edited, synchronize, reopened] | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: deepakputhraya/action-pr-title@3864bebc79c5f829d25dd42d3c6579d040b0ef16 | ||
name: Validate PR Title | ||
continue-on-error: false | ||
with: | ||
regex: '\w+:( [\w\.,]+)+( \(\w+ #\d+\))?' # Regex the title should match. "Level: message (optional #123)" | ||
allowed_prefixes: 'Breaking,Build,Chore,Fix,New,Update,Upgrade,Deps' # title should start with the given prefix | ||
# disallowed_prefixes: 'feat/,hotfix' # title should not start with the given prefix | ||
prefix_case_sensitive: true # title prefix are case insensitive | ||
# min_length: 5 # Min length of the title | ||
max_length: 50 # Max length of the title | ||
github_token: ${{ secrets.GITHUB_TOKEN }} # Default: ${{ github.token }} | ||
- uses: mshick/add-pr-comment@07f690343c25a94e24a8acb70d03c86b701ae322 | ||
name: Comment on PR | ||
if: ${{ failure() }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
message: | | ||
Please fix the title of this PR. | ||
Examples: | ||
``` | ||
Breaking: I broke something | ||
Fix: fix (fixes #1234) | ||
Update: some packages updates (refs #123) | ||
New: Added a new feature | ||
``` | ||
See more in `release.config.js`. |
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
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
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 |
---|---|---|
|
@@ -7,3 +7,7 @@ files: | |
|
||
linux: | ||
target: deb | ||
|
||
publish: | ||
- provider: github | ||
releaseType: 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
Oops, something went wrong.