initial: greenshades native backend v0.1.0 (x86_64-linux prebuild)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
name: Publish
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: ["v*"]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
- name: Auth for Gitea npm registry
|
||||
run: |
|
||||
echo "@polyweave:registry=https://hub.kl1.tenere.ai/api/packages/Polyweave/npm/" > .npmrc
|
||||
echo "//hub.kl1.tenere.ai/api/packages/Polyweave/npm/:_authToken=${{ secrets.PACKAGE_TOKEN }}" >> .npmrc
|
||||
- run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
|
||||
Reference in New Issue
Block a user