File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,13 +33,11 @@ jobs:
3333 token : ${{ secrets.PAT }}
3434 fetch-depth : 0
3535
36- - uses : actions /setup-node@v4
36+ - uses : oven-sh /setup-bun@v2
3737 with :
38- node-version : 20
39- cache : ' npm'
40- cache-dependency-path : ' package-lock.json'
38+ bun-version : latest
4139
42- - run : npm ci
40+ - run : bun ci
4341
4442 - name : Checkout
4543 run : |
5351 run : |
5452 set -e
5553
56- OUT="$(npm run --silent start)"
54+ OUT="$(bun run --silent start)"
5755
5856 DATA="$(echo "$OUT" | jq '.[]' | jq -s '.[0].metadataCCMod')"
5957
Original file line number Diff line number Diff line change @@ -26,13 +26,11 @@ jobs:
2626 run : |
2727 git checkout $(git remote show origin | awk '/HEAD branch/ {print $NF}')
2828
29- - uses : actions /setup-node@v4
29+ - uses : oven-sh /setup-bun@v2
3030 with :
31- node-version : 20
32- cache : ' npm'
33- cache-dependency-path : ' package-lock.json'
31+ bun-version : latest
3432
35- - run : npm ci
33+ - run : bun ci
3634
3735 - name : Get Date
3836 id : get-date
5250 env :
5351 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5452 donttesttools : true
55- run : BRANCH="$GITHUB_REF" npm run test
53+ BRANCH : ${{ github.ref }}
54+ run : bun run test
5655
5756 - name : Save mod archive cache
5857 uses : actions/cache/save@v4
You can’t perform that action at this time.
0 commit comments