Skip to content

Commit e7e2272

Browse files
authored
Merge pull request #41 from stellarcarbon/develop
Upgrade deps: sc-sdk v0.22.0; next v15.5.6
2 parents e221172 + 0166f5a commit e7e2272

File tree

13 files changed

+1259
-478
lines changed

13 files changed

+1259
-478
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI/CD with Tests and Vercel Deploy for main branch
1+
name: CI/CD with tests on the main branch
22

33
on:
44
push:
@@ -29,26 +29,4 @@ jobs:
2929
- name: Run Cypress Tests
3030
run: npm run e2e:headless
3131

32-
deploy:
33-
runs-on: ubuntu-latest
34-
35-
needs: test
36-
37-
steps:
38-
- name: Checkout Repository
39-
uses: actions/checkout@v4
40-
with:
41-
ref: main
42-
43-
- name: Set up Node.js
44-
uses: actions/setup-node@v4
45-
with:
46-
node-version: 20
47-
48-
- name: Install Vercel CLI
49-
run: npm install -g vercel
50-
51-
- name: Deploy to Vercel
52-
run: vercel --prod -y -t $VERCEL_TOKEN
53-
env:
54-
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
32+

README.md

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,39 @@
11
# sc-website
22

3-
Repository containing code for the https://www.stellarcarbon.io website.
3+
Repository containing code for the <https://www.stellarcarbon.io> website.
44

5-
Staging can be found on https://test.stellarcarbon.io/
6-
7-
TODO: robots.txt maken
8-
9-
Cypress e2e test werkt niet op digitalocean app platform.
10-
11-
```
12-
[2024-04-30 11:54:37] │ Your system is missing the dependency: Xvfb
13-
[2024-04-30 11:54:37] │
14-
[2024-04-30 11:54:37] │ Install Xvfb and run Cypress again.
15-
[2024-04-30 11:54:37] │
16-
[2024-04-30 11:54:37] │ Read our documentation on dependencies for more information:
17-
[2024-04-30 11:54:37] │
18-
[2024-04-30 11:54:37] │ https://on.cypress.io/required-dependencies
19-
```
5+
Staging can be found on <https://test.stellarcarbon.io/>.
206

217
## Developer instructions
228

239
This is a NextJS project.
2410

2511
Install using
2612

27-
```
13+
```sh
2814
npm install
2915
```
3016

3117
Run locally
3218

33-
```
19+
```sh
3420
npm run dev
3521
```
3622

3723
Run unit tests
3824

39-
```
25+
```sh
4026
npm test
4127
```
4228

4329
Run e2e tests
4430

45-
```
31+
```sh
4632
npm run e2e
4733
```
4834

4935
Run e2e headless
5036

51-
```
37+
```sh
5238
npm run e2e:headless
5339
```
54-
55-
### CarbonAPI code generation
56-
57-
The CarbonAPI client is generated based on the OpenAPI schema of the CarbonAPI. The latest version can be found on https://api.stellarcarbon.io/docs/.
58-
59-
Generate or update the API client with:
60-
61-
`npm run generate-client`

next-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./out/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
56
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

0 commit comments

Comments
 (0)