Skip to content

Commit

Permalink
Build for Node 20, update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Oct 26, 2023
1 parent 5bfa203 commit bf65156
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 92 deletions.
25 changes: 11 additions & 14 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
name: Use Depot
description: Install and use Depot to build Docker images
name: Depot Pull
description: Pull images from the Depot ephemeral registry.
author: Depot
branding:
icon: package
color: gray-dark
runs:
using: node16
using: node20
main: dist/index.js
inputs:
version:
description: |-
Version of the Depot CLI to install. If unspecified or set to "latest",
the latest version for the target platform will be installed. Example: "0.0.2".
default: latest
build-id:
description: The build ID to pull.
required: true
platform:
description: The platform to pull (defaults to the current platform).
required: false
project:
description: |-
If set, will populate the `DEPOT_PROJECT_ID` environment variable.
default: ''
tags:
description: A list of tags to apply to the pulled image
required: false
token:
description: |-
If set, will populate the `DEPOT_TOKEN` environment variable.
description: If set, will populate the `DEPOT_TOKEN` environment variable.
default: ''
required: false
2 changes: 1 addition & 1 deletion build.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ esbuild.build({
entryPoints: ['src/index.ts'],
bundle: true,
platform: 'node',
target: 'node16',
target: 'node20',
outfile: 'dist/index.js',
})
Loading

0 comments on commit bf65156

Please sign in to comment.