Skip to content

Chore: Update minor dependencies #4

Chore: Update minor dependencies

Chore: Update minor dependencies #4

name: '[Old] build and deploy'
on:
push:
branches:
- legacy-optimizer
workflow_dispatch:
env:
NODE_VERSION: 18
jobs:
build_and_deploy:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn deploy
env:
AWS_DEFAULT_REGION: us-east-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}