Skip to content

openDevTools

openDevTools #59

name: Chatbook Ubuntu 22.04
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Unzip out.zip to current directory
run: unzip out.zip -d .
working-directory: ./express
- name: Set up GitHub Token
run: echo "GH_TOKEN=${{ secrets.GH_TOKEN }}" >> $GITHUB_ENV
working-directory: ./express
- name: Install dependencies
run: npm install
working-directory: ./express
- name: Chatbook Ubuntu
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run build
working-directory: ./express
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Chatbook 0.1.0.deb
path: express/dist/*.deb