File tree Expand file tree Collapse file tree 3 files changed +55
-35
lines changed
Expand file tree Collapse file tree 3 files changed +55
-35
lines changed Original file line number Diff line number Diff line change 1+ name : Build Action
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ paths :
7+ - action/**
8+ - action.yml
9+ branches :
10+ - main
11+ - gha
12+
13+ jobs :
14+ build :
15+ runs-on : node-22
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+ - name : Install pnpm
20+ uses : pnpm/action-setup@v4
21+ id : pnpm-install
22+ with :
23+ version : 9.12.3
24+ run_install : true
25+ - name : Build Action
26+ working-directory : ./action
27+ run : pnpm build
28+ - uses : EndBug/add-and-commit@v9
29+ with :
30+ add : " build"
31+ message : " fix(action): build"
32+ # docker:
33+ # runs-on: ubuntu-latest
34+ # steps:
35+ # - name: Checkout
36+ # uses: actions/checkout@v4
37+ # - name: Login to Docker Hub
38+ # uses: docker/login-action@v3
39+ # with:
40+ # username: ${{ secrets.DOCKERHUB_LINGODOTDEV_USERNAME }}
41+ # password: ${{ secrets.DOCKERHUB_LINGODOTDEV_PASSWORD }}
42+ # - name: Set up QEMU
43+ # uses: docker/setup-qemu-action@v3
44+ # - name: Set up Docker Buildx
45+ # uses: docker/setup-buildx-action@v3
46+ # - name: Build Docker image and push
47+ # uses: docker/build-push-action@v6
48+ # with:
49+ # push: true
50+ # platforms: linux/amd64
51+ # context: ./action
52+ # file: ./action/Dockerfile
53+ # tags: ${{ secrets.DOCKERHUB_LINGODOTDEV_USERNAME }}/ci-action:latest
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ branding:
77 color : " black"
88
99runs :
10- using : " docker "
11- image : " action/Dockerfile "
10+ using : " node-22 "
11+ image : " action/build/index.js "
1212 env :
1313 LINGODOTDEV_API_KEY : ${{ inputs.api-key }}
1414 LINGODOTDEV_PULL_REQUEST : ${{ inputs.pull-request }}
You can’t perform that action at this time.
0 commit comments