Skip to content

Added tsx installation #515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/npmPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Publish to npm

on:
workflow_dispatch:
inputs:
npm_tag:
description: "Release type latest"
required: true
default: "latest"

jobs:
build:
Expand All @@ -23,6 +18,9 @@ jobs:
node-version: "14" # Use Node.js version 14
cache: "yarn"

- name: Install tsx
run: npm install -g tsx

- name: Install dependencies
working-directory: ./sdk
run: yarn install
Expand All @@ -39,6 +37,6 @@ jobs:

- name: Push to npm
working-directory: ./sdk
run: npm publish --tag ${{ github.event.inputs.npm_tag }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading