Merge pull request #152 from canopas/upgrade-tagsinput-plugin #965
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |