Uploaded base set of components
Some checks failed
Publish to Gitea Packages / publish (push) Failing after 1m3s
Some checks failed
Publish to Gitea Packages / publish (push) Failing after 1m3s
This commit is contained in:
30
.gitea/workflows/release.yml
Normal file
30
.gitea/workflows/release.yml
Normal file
@ -0,0 +1,30 @@
|
||||
name: Publish to Gitea Packages
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
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/
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run build
|
||||
run: npm run build
|
||||
|
||||
- name: Publish to Gitea Registry
|
||||
run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.CONTAINER_REGISTRY_PASSKEY }}
|
Reference in New Issue
Block a user