feat: build
Publish npm package / publish (push) Failing after 14s

This commit is contained in:
Senko-san
2026-06-06 13:27:33 +03:00
parent 5cd33a2b9d
commit ee0dce9d75
2 changed files with 32 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
name: Publish npm package
on:
push:
tags:
- "v*.*.*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://git.ollyhearn.ru/api/packages/olly/npm/"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}