Update mainpage.tsx #136
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: Website CI | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| name: Website CI | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install Yarn | |
| run: | | |
| npm install -g yarn | |
| - name: Build Website | |
| run: | | |
| corepack enable | |
| cd website | |
| yarn set version berry | |
| yarn install | |
| yarn build | |
| - name: Uninstall Yarn | |
| run: npm uninstall -g yarn |