Skip to content

Commit 0a90fdf

Browse files
authored
Added tsx installation (#515)
1 parent a8115ab commit 0a90fdf

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/npmPublish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: Publish to npm
22

33
on:
44
workflow_dispatch:
5-
inputs:
6-
npm_tag:
7-
description: "Release type latest"
8-
required: true
9-
default: "latest"
105

116
jobs:
127
build:
@@ -23,6 +18,9 @@ jobs:
2318
node-version: "14" # Use Node.js version 14
2419
cache: "yarn"
2520

21+
- name: Install tsx
22+
run: npm install -g tsx
23+
2624
- name: Install dependencies
2725
working-directory: ./sdk
2826
run: yarn install
@@ -39,6 +37,6 @@ jobs:
3937

4038
- name: Push to npm
4139
working-directory: ./sdk
42-
run: npm publish --tag ${{ github.event.inputs.npm_tag }}
40+
run: npm publish
4341
env:
4442
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)