This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
fix(ci): check_core_build.yml to check_apis_build.yml #1
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: Test Build - Core Server | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.11.1 | |
- name: install packages | |
run: | | |
cd apis/ | |
npm i -g yarn@latest | |
yarn install | |
- name: build server | |
run: | | |
cd apis | |
yarn compile | |