Skip to content

Commit

Permalink
build: import bun
Browse files Browse the repository at this point in the history
  • Loading branch information
kkkycocho committed Nov 15, 2023
1 parent 85926a0 commit ff4c23d
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup Node
uses: actions/[email protected]
with:
node-version: '16.x'

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: oven-sh/setup-bun@v1

- name: Install dependencies
run: yarn
run: bun install

- name: Build
run: npm run build && cp build/index.html build/404.html
run: bun run build && cp build/index.html build/404.html
env:
REACT_APP_STARCOIN_API_URL: ${{ secrets.API_URL }}
REACT_APP_STARCOIN_NETWORKS: ${{ secrets.AVAILABLE_NETWORKS }}
Expand Down

0 comments on commit ff4c23d

Please sign in to comment.