feat: forgejo action #1

Merged
leandro merged 20 commits from development into master 2025-05-26 04:58:21 +00:00
Showing only changes of commit 18d707f8ce - Show all commits

View file

@ -34,11 +34,17 @@ jobs:
- name: Run Tests
run: npm test
- name: Prepare Package
run: |
cp package.json dist/
cp README.md dist/
mv dist lhmask
- uses: actions/upload-artifact@v3
name: Upload lhmask to GitHub
with:
name: dist
path: dist
name: lhmask
path: lhmask
publish-staging:
runs-on: docker
@ -53,10 +59,10 @@ jobs:
- name: Download lhmask
uses: actions/download-artifact@v3
with:
path: dist
name: dist
path: lhmask
name: lhmask
- run: npm publish --provenance --access public
- run: cd lhmask && npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}