Merge branch 'main' of https://github.com/vaporvee/astro-github-component
This commit is contained in:
@@ -1,22 +0,0 @@
|
|||||||
name: npm Publish to GitHub Package Registry
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
packages: write # allow GITHUB_TOKEN to publish packages
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: "20"
|
|
||||||
- run: npm ci
|
|
||||||
- uses: JS-DevTools/npm-publish@v3
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
registry: "https://npm.pkg.github.com"
|
|
Reference in New Issue
Block a user