-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TODO: - [x] Set up CircleCI for this repo - [x] Set up CFA for this repo
- Loading branch information
1 parent
1985ecf
commit b6a107c
Showing
5 changed files
with
1,684 additions
and
30 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,43 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
cfa: continuousauth/[email protected] | ||
node: electronjs/[email protected] | ||
|
||
workflows: | ||
test_and_release: | ||
# Run the test jobs first, then the release only when all the test jobs are successful | ||
jobs: | ||
- node/test: | ||
name: test-<< matrix.executor >>-<< matrix.node-version >> | ||
test-steps: | ||
- run: yarn lint | ||
- when: | ||
condition: | ||
equal: [ '20.9', << matrix.node-version >> ] | ||
steps: | ||
- run: yarn test | ||
- when: | ||
condition: | ||
not: | ||
equal: [ '20.9', << matrix.node-version >> ] | ||
steps: | ||
- run: yarn test:loader | ||
use-test-steps: true | ||
matrix: | ||
alias: test | ||
parameters: | ||
executor: | ||
- node/windows | ||
node-version: | ||
- '20.9' | ||
- '18.17' | ||
- '16.20' | ||
- cfa/release: | ||
requires: | ||
- test | ||
filters: | ||
branches: | ||
only: | ||
- main | ||
context: cfa-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: "Check Semantic Commit" | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
main: | ||
permissions: | ||
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs | ||
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR | ||
name: Validate PR Title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: semantic-pull-request | ||
uses: amannn/action-semantic-pull-request@47b15d52c5c30e94a17ec87eb8dd51ff5221fed9 # v5.3.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
validateSingleCommit: false |
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,9 @@ | ||
{ | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
"@continuous-auth/semantic-release-npm", | ||
"@semantic-release/github" | ||
], | ||
"branches": ["main"] | ||
} |
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.