Skip to content

Merge pull request #152 from canopas/upgrade-tagsinput-plugin #965

Merge pull request #152 from canopas/upgrade-tagsinput-plugin

Merge pull request #152 from canopas/upgrade-tagsinput-plugin #965

Workflow file for this run

name: Build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node for admin
uses: actions/setup-node@v1
with:
node-version: "18.x"
- name: Build admin panel
run: |
cd admin
yarn install
cd src/plugins/blog-editor
yarn install
cd ../../..
yarn build
- name: Set up Node for website
uses: actions/setup-node@v1
with:
node-version: "20.x"
- name: Build frontend
env:
NEXT_PUBLIC_WEBSITE_URL: https://dev-stack.canopas.com
NEXT_PUBLIC_STRAPI_DOMAIN: ${{secrets.ADMIN_PANEL_URL}}
run: |
cd website
yarn add prettier
yarn lint
yarn build