Skip to content

Commit

Permalink
Testing GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolson committed Apr 10, 2024
1 parent f771eaf commit bff6f70
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/actions/install-npm-version/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Install npm version
# Used to specify a version of npm that supports --provenance (for node installs < 18.X)
description: Install the latest version of the npm CLI utility.
inputs:
npm_version:
description: 'The version of npm to install'
required: false
default: latest

runs:
using: composite
steps:
- name: 'Install specified npm version'
shell: bash
run: |
npm install -g npm@${{ inputs.npm_version }}
5 changes: 3 additions & 2 deletions .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:

release-ldcli-npm:
runs-on: ubuntu-latest
needs: ['release-please']
needs: ['release-ldcli']
permissions:
actions: read
id-token: write
contents: write
if: ${{ needs.release-please.outputs.package-common-released == 'true'}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -60,6 +60,7 @@ jobs:
name: Full release of packages/shared/common
uses: ./actions/full-release
with:
base64-subjects: "${{ needs.release-ldcli.outputs.hashes }}"
workspace_path: packages/shared/common
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}

Expand Down

0 comments on commit bff6f70

Please sign in to comment.