Some checks failed
Publish to Gitea Packages / publish (push) Failing after 46s
30 lines
605 B
YAML
30 lines
605 B
YAML
name: Publish to Gitea Packages
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
|
|
- name: Install pnpm
|
|
run: npm install -g pnpm
|
|
|
|
- name: Install dependencies from npm
|
|
run: pnpm install
|
|
|
|
- name: Run build
|
|
run: pnpm run build
|
|
|
|
- name: Publish to Gitea registry
|
|
run: |
|
|
pnpm config set registry https://git.luke-else.co.uk/api/packages/luke-else/npm/
|
|
pnpm publish |