fix: DockerFile (#1200) #3322
This file contains hidden or 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: CI/CD Pipeline | |
on: | |
pull_request: | |
merge_group: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.AUTORELEASE_PAT || github.token }} | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "20" | |
- name: Update git submodules | |
run: git submodule update --init --recursive | |
- name: Install dependencies | |
run: npm install --ignore-scripts | |
- name: Display Node.js version | |
run: node --version | |
- name: Rescript Code Compile | |
run: npm run re:build | |
- name: Build | |
run: npm run build | |
- name: Test React Hooks Properties | |
run: npm run test:hooks |