Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Commit 4467d86

Browse files
committed
add github action
1 parent efa3eed commit 4467d86

3 files changed

Lines changed: 26 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on: push
2+
3+
jobs:
4+
crx:
5+
if: startsWith(github.ref, 'refs/tags/')
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
with:
10+
path: trektor
11+
- uses: actions/setup-node@v2
12+
with:
13+
cache: yarn
14+
cache-dependency-path: trektor/yarn.lock
15+
- run: yarn install
16+
working-directory: trektor
17+
- uses: browser-actions/setup-chrome@latest
18+
- run: |
19+
export DISPLAY=:99
20+
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
21+
chrome --pack-extension=trektor
22+
- uses: "softprops/action-gh-release@v1"
23+
with:
24+
files: "trektor.crx"

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "Trektor",
44
"description": "Browser-Extension zum automatischen Anlegen von Toggl tracking tasks",
5-
"version": "0.0.3",
5+
"version": "0.0.4",
66
"browser_specific_settings": {
77
"gecko": {
88
"id": "trektor@aboutsource.net"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "trektor",
3-
"version": "0.0.3",
3+
"private": true,
44
"repository": "git@github.com:aboutsource/trektor",
55
"author": "info@aboutsource.net",
66
"license": "MIT",

0 commit comments

Comments
 (0)