This commit is contained in:
parent
6fe9cc7a9b
commit
5c2733de26
2 changed files with 6 additions and 4 deletions
|
@ -10,7 +10,9 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build plugins
|
||||
runs-on: docker
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
|
@ -18,4 +20,3 @@ jobs:
|
|||
node-version: 18
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
||||
|
|
|
@ -4,7 +4,9 @@ on: workflow_dispatch
|
|||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
name: Publish plugins to Release branch
|
||||
runs-on: docker
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
|
@ -15,4 +17,3 @@ jobs:
|
|||
- run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
|
||||
- run: npm ci
|
||||
- run: npm run publish
|
||||
|
||||
|
|
Loading…
Reference in a new issue