Update Frond End #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Chatbook Ubuntu 22.04 | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'express/**/*' | |
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 |