Skip to content

wip

wip #224

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CI: false
jobs:
buildReact:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/checkout@v2
- run: ls
- run: cd frontend && npm install && npm run build && rm -rf node_modules && cd ..
- name: Publish
uses: nogsantos/scp-deploy@master
with:
src: ./*
host: ${{ secrets.SSH_HOST }}
remote: ${{ secrets.SSH_DIR }}
port: ${{ secrets.SSH_PORT }}
user: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}