File tree Expand file tree Collapse file tree 3 files changed +59
-35
lines changed
Expand file tree Collapse file tree 3 files changed +59
-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 : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+ - name : Use Node.js
20+ uses : actions/setup-node@v2
21+ with :
22+ node-version : 18.20.4
23+ - name : Install pnpm
24+ uses : pnpm/action-setup@v4
25+ id : pnpm-install
26+ with :
27+ version : 9.12.3
28+ run_install : true
29+ - name : Build Action
30+ working-directory : ./action
31+ run : pnpm build
32+ - uses : EndBug/add-and-commit@v9
33+ with :
34+ add : " build"
35+ message : " fix(action): build"
36+ # docker:
37+ # runs-on: ubuntu-latest
38+ # steps:
39+ # - name: Checkout
40+ # uses: actions/checkout@v4
41+ # - name: Login to Docker Hub
42+ # uses: docker/login-action@v3
43+ # with:
44+ # username: ${{ secrets.DOCKERHUB_LINGODOTDEV_USERNAME }}
45+ # password: ${{ secrets.DOCKERHUB_LINGODOTDEV_PASSWORD }}
46+ # - name: Set up QEMU
47+ # uses: docker/setup-qemu-action@v3
48+ # - name: Set up Docker Buildx
49+ # uses: docker/setup-buildx-action@v3
50+ # - name: Build Docker image and push
51+ # uses: docker/build-push-action@v6
52+ # with:
53+ # push: true
54+ # platforms: linux/amd64
55+ # context: ./action
56+ # file: ./action/Dockerfile
57+ # 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 : " node22 "
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