Skip to content

Commit

Permalink
Merge branch 'main' into test/by-type
Browse files Browse the repository at this point in the history
  • Loading branch information
saikrishna321 committed Jul 10, 2024
2 parents 6f4773f + 8af6ce8 commit 048b778
Show file tree
Hide file tree
Showing 7 changed files with 17,971 additions and 12,459 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Conventional Commits
on:
pull_request:


jobs:
lint:
name: https://www.conventionalcommits.org
runs-on: ubuntu-latest
steps:
- uses: beemojs/conventional-pr-action@v3
with:
config-preset: angular
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
30 changes: 15 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Node.js Package
name: Release

on:
release:
types: [created]
workflow_dispatch:
push:
branches: [ main ]

jobs:
publish-npm:
runs-on: ubuntu-latest
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
node-version: lts/*
check-latest: true
- run: npm install --no-package-lock
name: Install dev dependencies
- run: npx semantic-release
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.npm_token }}
name: Release
37 changes: 37 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
"releaseRules": [
{"type": "chore", "release": "patch"}
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "perf", "section": "Performance Improvements"},
{"type": "revert", "section": "Reverts"},
{"type": "chore", "section": "Miscellaneous Chores"},
{"type": "refactor", "section": "Code Refactoring"},
{"type": "docs", "section": "Documentation", "hidden": true},
{"type": "style", "section": "Styles", "hidden": true},
{"type": "test", "section": "Tests", "hidden": true},
{"type": "build", "section": "Build System", "hidden": true},
{"type": "ci", "section": "Continuous Integration", "hidden": true}
]
}
}],
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md"
}],
"@semantic-release/npm",
["@semantic-release/git", {
"assets": ["docs", "package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
"@semantic-release/github"
]
}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## 1.0.0 (2024-07-10)

### Bug Fixes

* Respect adb settings provided to the driver ([#19](https://github.com/AppiumTestDistribution/appium-flutter-integration-driver/issues/19)) ([e3a0148](https://github.com/AppiumTestDistribution/appium-flutter-integration-driver/commit/e3a0148c107a77aea776df3b729f3190cb83a5b4))

### Miscellaneous Chores

* Add server status validation ([#40](https://github.com/AppiumTestDistribution/appium-flutter-integration-driver/issues/40)) ([20299df](https://github.com/AppiumTestDistribution/appium-flutter-integration-driver/commit/20299df550ee0ba5180250ab58db759fc1d30c43))
* setup semantic release ([#41](https://github.com/AppiumTestDistribution/appium-flutter-integration-driver/issues/41)) ([10a00cb](https://github.com/AppiumTestDistribution/appium-flutter-integration-driver/commit/10a00cb311090f2da90290e41d1089c90c4328b8))
* Use logger attached to the driver instance where possible ([#33](https://github.com/AppiumTestDistribution/appium-flutter-integration-driver/issues/33)) ([639aef8](https://github.com/AppiumTestDistribution/appium-flutter-integration-driver/commit/639aef80009b878c4b9fb8c706ae0e6e14334fd9))
Loading

0 comments on commit 048b778

Please sign in to comment.