Skip to content

Commit

Permalink
feat: Improve build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
spotandjake committed Sep 13, 2024
1 parent ca2030b commit 39bc760
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache: 'yarn'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
run: yarn install --immutable
- name: Build Vite
run: yarn build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Celestron is a web based procedurally generated tower defense game made by [Iron
# Building
To install the dependencies run:
```
yarn install
yarn install --immutable
```
We use a vite build system with some additional build steps in order to build the project run:
```bash
bash build.sh
after that run:
```
yarn build
```
which will output the project to `./dist/` you can run `yarn host` to run the server and host the project.

Expand Down

0 comments on commit 39bc760

Please sign in to comment.