first commit
Some checks failed
Publish NPM Package / Publish Job (push) Failing after 1m34s

This commit is contained in:
lendry
2026-05-21 21:49:32 +03:00
commit fbe3b0327c
48 changed files with 5523 additions and 0 deletions

37
.github/workflows/publish-npm.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: Publish NPM Package
on:
push:
branches:
- main
jobs:
publish:
name: Publish Job
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Install yarn
run: npm install -g yarn
- name: Install deps
run: yarn install --frozen-lockfile
- name: Generate TS Protobuf
run: yarn run generate
- name: Publish package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}