Merge pull request #56 from LS-KR/search #93
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: Vite Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- closed | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build main | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'yarn' | |
- name: Install and build | |
run: | | |
export NODE_OPTIONS="--max-old-space-size=4096" | |
yarn install | |
yarn build | |
- name: Publish artifact code | |
uses: actions/upload-artifact@v3 | |
with: | |
name: dist | |
path: dist |