Files
component-lib/.gitea/workflows/deploy.yaml
Luke Else 08716277eb
Some checks failed
Publish Svelte Tailwind Library / build-and-publish (push) Failing after 19s
fix: Changed scope of repo to still allow pulling from main node repos
2025-09-15 16:30:47 +01:00

34 lines
756 B
YAML

name: Publish Svelte Tailwind Library
on:
push:
branches:
- main
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
registry-url: 'https://git.luke-else.co.uk/api/packages/luke-else/npm/'
scope: '@luke-else'
- uses: pnpm/action-setup@v3
name: Install pnpm
- name: Install dependencies
run: pnpm install
- name: Build package
run: pnpm run build
- name: Publish to Gitea Packages
env:
NODE_AUTH_TOKEN: ${{ secrets.CONTAINER_REGISTRY_PASSKEY }}
run: pnpm publish