File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 push :
33 branches :
44 - main
5+ workflow_dispatch :
56
67name : 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"
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff 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.
8994runs :
90- using : node16
95+ using : node20
9196 main : ./dist/index.js
You can’t perform that action at this time.
0 commit comments