Skip to content

Commit

Permalink
Merge pull request #23 from binhtran432k/feature/loader
Browse files Browse the repository at this point in the history
feat: enhance loader
  • Loading branch information
binhtran432k authored Mar 26, 2024
2 parents 6759f78 + 7b505c3 commit 1aa4fec
Show file tree
Hide file tree
Showing 12 changed files with 413 additions and 471 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ jobs:
- name: Checkout respository
uses: actions/checkout@v4

- name: Install rust toolchain
run: |
rustup update --no-self-update ${{ env.RUST_CHANNEL }}
rustup default ${{ env.RUST_CHANNEL }}
env:
RUST_CHANNEL: nightly

- name: Cache cargo binaries
uses: actions/cache@v4
id: cache
Expand Down Expand Up @@ -66,7 +73,7 @@ jobs:
run: bun install --frozen-lockfile

- name: Check build sass
run: bun run sass
run: bun run deploy:sass

- name: Check build static
run: bun run check
14 changes: 9 additions & 5 deletions .github/workflows/gh-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Install rust toolchain
run: |
rustup update --no-self-update ${{ env.RUST_CHANNEL }}
rustup default ${{ env.RUST_CHANNEL }}
env:
RUST_CHANNEL: nightly

- name: Cache cargo binaries
uses: actions/cache@v4
id: cache
Expand Down Expand Up @@ -77,16 +84,13 @@ jobs:
if: steps.bun-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile

- name: Generate css from scss
run: bun run sass

- name: Build using Perseus
run: bun run build
run: bun run deploy

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./dist/exported/
path: ./pkg/

deploy:
name: Deploy Github Pages
Expand Down
Loading

0 comments on commit 1aa4fec

Please sign in to comment.