gauntlet-cswimr-plugins/.forgejo/workflows/publish.yaml
cswimr 6fe9cc7a9b
Some checks are pending
build / build (push) Waiting to run
enable workflows
2024-10-20 09:19:26 -04:00

18 lines
547 B
YAML

name: publish
on: workflow_dispatch
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: git config --global user.name "${GITHUB_ACTOR}"
- run: git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
- run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
- run: npm ci
- run: npm run publish