Skip to content

Commit 6dcd7b8

Browse files
Merge pull request #1 from flamableassassin/dev
Adding new gaius endpoints
2 parents 102431f + 1f668af commit 6dcd7b8

File tree

6 files changed

+1299
-1725
lines changed

6 files changed

+1299
-1725
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v3
2929
- uses: actions/setup-node@v3
3030
with:
31-
node-version: 20
31+
node-version: 22
3232
cache: npm
3333

3434
- name: Install dependencies

.github/workflows/test-deploy.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,18 @@ name: Test deployment
66

77
on:
88
pull_request:
9+
types:
10+
- opened
11+
- reopened
12+
- synchronize
13+
- closed
914
branches:
1015
- main
1116
# Review gh actions docs if you want to further define triggers, paths, etc
1217
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
1318

19+
concurrency: preview-${{ github.ref }}
20+
1421
jobs:
1522
test-deploy:
1623
name: Test deployment
@@ -19,10 +26,17 @@ jobs:
1926
- uses: actions/checkout@v3
2027
- uses: actions/setup-node@v3
2128
with:
22-
node-version: 20
29+
node-version: 22
2330
cache: npm
2431

2532
- name: Install dependencies
33+
if: github.event.action != 'closed'
2634
run: npm ci
2735
- name: Test build website
36+
if: github.event.action != 'closed'
2837
run: npm run build
38+
39+
- name: Deploy preview
40+
uses: rossjrw/pr-preview-action@v1
41+
with:
42+
source-dir: ./build

0 commit comments

Comments
 (0)