forked from MondoPower/codeartifact-auth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yaml
29 lines (29 loc) · 778 Bytes
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: 'Configure npm with AWS CodeArtifact'
description: 'Logs into npm repo hosted on AWS CodeArtifact'
inputs:
accountId: #String
description: 'AWS AccountId'
required: true
region: #String
description: 'AWS Region'
required: true
domain: #String
description: 'Codeartifact domain'
required: true
repository: #String
description: 'Codeartifact Repo'
required: true
scope: #String
description: 'NPM Scope'
required: true
packageType: #String
description: 'PackageType'
required: true
outputs:
status: # success/failure
description: 'If we succeeded or failed to login'
runs:
# `node18` is not supported yet
# https://github.com/actions/runner-images/issues/7002
using: node16
main: './action/action.js'