0.4.0: battlepass levelNumber fix, UGC removed, regenerated API types, CI publish on tags
CI / check (push) Successful in 59s
CI / publish (push) Failing after 23s

This commit is contained in:
edmand46
2026-08-19 17:48:55 +03:00
parent 25f66be16a
commit 322a2c0706
9 changed files with 42 additions and 90 deletions
+27
View File
@@ -3,6 +3,7 @@ name: CI
on:
push:
branches: [main, master]
tags: ['v*']
pull_request:
jobs:
@@ -29,3 +30,29 @@ jobs:
- name: Build
run: npm run build
publish:
if: startsWith(github.ref, 'refs/tags/v')
needs: check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
registry-url: https://hub.rudder.build/api/packages/rudder/npm/
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITEA_TOKEN }}