Skip to content

Commit 6b72107

Browse files
committed
Merge remote-tracking branch 'origin/main' into feature/support-spot-instances
2 parents b52d82f + cf3bce7 commit 6b72107

10 files changed

Lines changed: 4299 additions & 1580 deletions

File tree

.github/workflows/package.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches:
44
- main
5+
workflow_dispatch:
56

67
name: Package
78

@@ -14,12 +15,20 @@ jobs:
1415
uses: actions/checkout@v3
1516
with:
1617
ref: main
18+
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: 16 # Node v16 is required for the @vercel/ncc to work. TODO: update the package tool and then update the node version here.
22+
1723
- name: Install packages
1824
run: npm ci
25+
1926
- name: Run linter
2027
run: npm run lint
28+
2129
- name: Package
2230
run: npm run package
31+
2332
- name: Commit
2433
run: |
2534
git config --global user.name "GitHub Actions"

README.md

Lines changed: 17 additions & 300 deletions
Large diffs are not rendered by default.

action.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,20 @@ inputs:
4040
label:
4141
description: >-
4242
Name of the unique label assigned to the runner.
43-
The label is used to remove the runner from GitHub when the runner is not needed anymore.
43+
The label is used to remove the runner from GitHub when the runners are not needed anymore.
4444
This input is required if you use the 'stop' mode.
4545
required: false
46-
ec2-instance-id:
46+
ec2-instance-ids:
4747
description: >-
48-
EC2 Instance Id of the created runner.
49-
The id is used to terminate the EC2 instance when the runner is not needed anymore.
48+
EC2 Instance Ids of the created runners.
49+
The ids are used to terminate the EC2 instances when the runners are not needed anymore.
5050
This input is required if you use the 'stop' mode.
5151
required: false
52+
ec2-instance-count:
53+
description: >-
54+
EC2 instance count, amount of instances that will be created. Defaults to 1.
55+
required: false
56+
default: '1'
5257
iam-role-name:
5358
description: >-
5459
IAM Role Name to attach to the created EC2 instance.
@@ -87,5 +92,5 @@ outputs:
8792
EC2 Instance Id of the created runner.
8893
The id is used to terminate the EC2 instance when the runner is not needed anymore.
8994
runs:
90-
using: node16
95+
using: node20
9196
main: ./dist/index.js

0 commit comments

Comments
 (0)