Skip to content

Commit a1beb89

Browse files
committed
feat(action): run on Github without Docker
1 parent ffd6024 commit a1beb89

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
1-
name: Build Docker Image
1+
name: Build Action
22

33
on:
44
workflow_dispatch:
55
push:
66
paths:
77
- action/**
8+
- action.yml
89
branches:
910
- main
11+
- gha
1012

1113
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Build Action
20+
working-directory: ./action
21+
run: pnpm build
22+
- uses: EndBug/add-and-commit@v9
23+
with:
24+
add: "build"
25+
message: "fix(action): build"
1226
docker:
1327
runs-on: ubuntu-latest
1428
steps:

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ branding:
77
color: "black"
88

99
runs:
10-
using: "docker"
11-
image: "action/Dockerfile"
10+
using: "node"
11+
image: "action/build/index.js"
1212
env:
1313
LINGODOTDEV_API_KEY: ${{ inputs.api-key }}
1414
LINGODOTDEV_PULL_REQUEST: ${{ inputs.pull-request }}

0 commit comments

Comments
 (0)