Skip to content

chore(deps): update react monorepo #427

chore(deps): update react monorepo

chore(deps): update react monorepo #427

Workflow file for this run

name: Build and conditionally deploy
on:
- push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm ci
- run: npm run lint
- run: npm run build
- name: Install SSH key
if: github.ref == 'refs/heads/master'
env:
FBS_SSH_KEY: ${{ secrets.FBS_SSH_KEY }}
run: |
mkdir -p ~/.ssh
echo "$FBS_SSH_KEY" >~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
- name: Deploy
if: github.ref == 'refs/heads/master'
run: ./scripts/deploy.sh