Skip to content

feat: add marketing digital and move deploy to static #621

feat: add marketing digital and move deploy to static

feat: add marketing digital and move deploy to static #621

name: CI - Continuous Integration
on:
pull_request:
types: [opened, synchronize]
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'v20.14.0'
- name: "Start: Deploy Static"
run: |
yarn install && yarn build:static
npx vercel ./out --confirm
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'v20.14.0'
- name: "Start: Lint"
run: |
yarn install && yarn lint
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'v20.14.0'
- name: "Start: Unit Testing"
run: |
yarn install && yarn test