Skip to content

fix: deps

fix: deps #191

Workflow file for this run

name: Nightly build to test
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: "20.x"
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
- name: Build project
run: |
pnpm install
pnpm run build
mkdir -p tmp/recorder
rsync -ar dist package.json config_sample.yaml tmp/recorder/
cd tmp
zip -X -r recorder.zip recorder
- name: Upload by ftp
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.PNM_FTP_HOST }}
username: ${{ secrets.PNM_FTP_USER }}
password: ${{ secrets.PNM_FTP_PASSWORD }}
local-dir: "./tmp/"
state-name: ".recorder-sync-state.json"
exclude: |
**/recorder/**