Skip to content

[BUILD] Add CI pipeline #1

[BUILD] Add CI pipeline

[BUILD] Add CI pipeline #1

Workflow file for this run

name: build
env:
NODE_VERSION: '18.17.1'
NPM_VERSION: '9.8.1'
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install project prerequisite
uses: ./.github/actions/install-action
with:
node-version: ${{env.NODE_VERSION}}
npm-version: ${{env.NPM_VERSION}}
- name: Validate project
run: npm run validate