Skip to content

Commit 8555903

Browse files
committed
chore(release): bump version and re-added the auto release workflow
1 parent 810fc4a commit 8555903

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#
2+
13
## Proposed changes
24

35
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

.github/workflows/release.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
issues: write
13+
id-token: write
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
environment: Release
19+
steps:
20+
- uses: actions/checkout@v5
21+
- name: Use Node.js
22+
uses: actions/setup-node@v6
23+
with:
24+
node-version: 24.x
25+
registry-url: 'https://registry.npmjs.org'
26+
- run: npm install --no-package-lock
27+
name: Install dependencies
28+
- run: npm run build
29+
name: Run NPM Build
30+
- run: npm run lint
31+
name: Run NPM Lint
32+
- run: |
33+
rm -rf package-lock.json node_modules
34+
# Remove dev and peer dependencies from node_modules
35+
npm prune --omit=dev --omit=peer --no-package-lock
36+
name: Remove dev dependencies and appium peer dependencies
37+
- run: npm shrinkwrap --omit=dev --omit=peer
38+
name: Create shrinkwrap
39+
- run: npm install --only=dev --no-package-lock
40+
name: Install dev dependencies for the release
41+
- run: npx semantic-release
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
45+
name: Release

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "appium-desktop-driver",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"description": "Appium driver for Windows",
55
"keywords": [
66
"appium",

0 commit comments

Comments
 (0)