-
Notifications
You must be signed in to change notification settings - Fork 8
39 lines (30 loc) · 832 Bytes
/
test.yml
File metadata and controls
39 lines (30 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 'latest'
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- run: bun install --frozen-lockfile
continue-on-error: true
- run: bun install --frozen-lockfile
- run: bun run build
env:
HC_OWNER_ADDRESS: ${{ secrets.HC_OWNER_ADDRESS }}
NEXT_PUBLIC_WC_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_WC_PROJECT_ID }}
CMS_ENDPOINT: ${{ secrets.CMS_ENDPOINT }}