Skip to content

Update loadedData.json #28

Update loadedData.json

Update loadedData.json #28

Workflow file for this run

name: Release
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm i
- run: npm run build
- run: zip -r cq-dashboard.zip dashboard package.json LICENSE
- uses: svenstaro/upload-release-action@v2
with:
file: cq-dashboard.zip
overwrite: true
- uses: actions/checkout@v3
with:
repository: nodecg/nodecg
path: nodecg
ref: v1.9.0
- run: curl https://nodejs.org/dist/latest-v18.x/win-x64/node.exe --output nodecg/node.exe
- run: echo "node.exe index.js" > nodecg/run.bat
- run: mkdir nodecg/bundles/cq-dashboard
- run: cp -r dashboard package.json LICENSE nodecg/bundles/cq-dashboard
- run: npm i --production
working-directory: ./nodecg
- run: zip -r cq-nodecg.zip nodecg/
- uses: svenstaro/upload-release-action@v2
with:
file: cq-nodecg.zip
overwrite: true