forked from 0LNetworkCommunity/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 879 Bytes
/
test.yaml
File metadata and controls
35 lines (32 loc) · 879 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
name: Test deployment
on:
push:
branches: ["*"]
# note: not testing on PR, since we are already previews for PRs
# which have the same effect
pull_request:
types:
- opened
- reopened
- synchronize
- closed
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
# NOTE: for debugging CI this allow shell access to github runner. Will print out tmate.io terminal url
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# with:
# detached: true
# timeout-minutes: 15
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v2
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Test build website
run: bun run build