Don't publish to NPM
This commit is contained in:
parent
27adbf6660
commit
37f1f6ac01
1 changed files with 0 additions and 44 deletions
44
.github/workflows/publish-npm.yml
vendored
44
.github/workflows/publish-npm.yml
vendored
|
|
@ -1,44 +0,0 @@
|
||||||
name: Publish CLI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags: ["*"]
|
|
||||||
pull_request:
|
|
||||||
branches: ["main"]
|
|
||||||
|
|
||||||
env:
|
|
||||||
REGISTRY: ghcr.io
|
|
||||||
IMAGE_NAME: ${{ github.repository }}-cli
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
publish-npm:
|
|
||||||
runs-on: self-hosted
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
packages: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Setup Node.js environment
|
|
||||||
uses: actions/setup-node@v4.2.0
|
|
||||||
with:
|
|
||||||
node-version: "22.x"
|
|
||||||
check-latest: true
|
|
||||||
registry-url: 'https://npm.pkg.github.com'
|
|
||||||
scope: '@schmelczer'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
cd frontend
|
|
||||||
npm ci
|
|
||||||
npm run build
|
|
||||||
|
|
||||||
- name: Publish to GitHub Packages
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
|
||||||
cd frontend/local-client-cli
|
|
||||||
npm publish
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue