2024-10-17 15:20:23 -04:00
|
|
|
name: publish
|
|
|
|
|
|
|
|
on: workflow_dispatch
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
publish:
|
2024-10-20 09:20:58 -04:00
|
|
|
name: Publish plugins to Release branch
|
|
|
|
runs-on: docker
|
|
|
|
container: catthehacker/ubuntu:act-latest
|
2024-10-17 15:20:23 -04:00
|
|
|
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
|