Skip to content

Commit 4dca055

Browse files
committed
Update synced colors
1 parent 1135f6f commit 4dca055

9 files changed

Lines changed: 158 additions & 2547 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,18 @@ jobs:
2424
run:
2525
working-directory: website
2626
steps:
27-
- uses: actions/checkout@v4
28-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
28+
- uses: actions/checkout@v5
2929
with:
3030
repository: EvModder/PNG-to-NBT
3131
path: png-to-nbt
32-
- uses: actions/setup-node@v4
32+
- uses: oven-sh/setup-bun@v2
3333
with:
34-
node-version: '20'
35-
- uses: actions/cache@v4
36-
with:
37-
path: ~/.npm
38-
key: ${{ runner.os }}-npm-${{ hashFiles('website/package.json') }}
39-
restore-keys: |
40-
${{ runner.os }}-npm-
41-
- run: npm install
42-
- run: npm run sync:map-colors -- ../png-to-nbt/website/src/data/mapColors.ts
43-
- run: npm run build
44-
- uses: actions/upload-pages-artifact@v3
34+
bun-version-file: website/.bun-version
35+
- run: bun ci
36+
- run: bun run sync:map-colors -- ../png-to-nbt/website/src/data/mapColors.ts
37+
- run: bun run build
38+
- uses: actions/upload-pages-artifact@v4
4539
with:
4640
path: website/dist
4741

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,13 @@ replay_*.log
3838
*.hprof
3939
*.jfr
4040

41+
########## Website
42+
website/node_modules/
43+
website/dist/
44+
website/.bun_version
45+
website/bun.lock
4146

4247
########## Other
4348
src/main/resources/assets/evmod/*.png
4449
tmp_workstuff/
4550
hashcode_*
46-
website/node_modules/
47-
website/dist/

website/.bun-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.3.10

0 commit comments

Comments
 (0)