Skip to content

Commit 073962c

Browse files
committed
chore: beta release update
1 parent f2b8cc6 commit 073962c

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

.github/workflows/beta.yml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,13 @@ jobs:
88
runs-on: macos-latest
99
steps:
1010
- uses: actions/checkout@v3
11-
- name: Configure AWS Credentials
12-
uses: aws-actions/configure-aws-credentials@v4
13-
with:
14-
role-to-assume: arn:aws:iam::935785792371:role/GithubNpmPublishAction
15-
role-session-name: language-server-runtimes-github
16-
aws-region: us-east-1
17-
if: ${{ fromJson(steps.release.outputs.releases_created) }}
18-
19-
- name: Get npm access token
20-
uses: aws-actions/aws-secretsmanager-get-secrets@v2
21-
with:
22-
secret-ids: |
23-
npmjs/github_automation
24-
parse-json-secrets: true
25-
if: ${{ fromJson(steps.release.outputs.releases_created) }}
26-
27-
- name: Setup Nodejs
28-
uses: actions/setup-node@v4
11+
- uses: actions/setup-node@v3
2912
with:
3013
node-version: '20.x'
3114
registry-url: 'https://registry.npmjs.org'
3215
scope: '@aws'
33-
if: ${{ fromJson(steps.release.outputs.releases_created) }}
34-
35-
- name: Set token
36-
run: echo "NODE_AUTH_TOKEN=${{ env.NPMJS_GITHUB_AUTOMATION_TOKEN }}" >> $GITHUB_ENV
37-
if: ${{ fromJson(steps.release.outputs.releases_created) }}
3816
- run: npm ci
3917
- run: npm run build
4018
- run: npm publish --tag beta --access public
19+
env:
20+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)