fix: deps #191
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: 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/** |